CM2Model::FindChild
function · models · orchestration
- Address
0x712f00· 40 bytes, up to0x712f27- Meaning
- Returns the first child attached at an attachment id, or 0
- Confidence
- verified, proof one
- Finding
- models/model#attachments
Finding: Attachments in models: the instance
Attach(parent, id) takes an instance off the animate list, stores the parent and id, resolves
the id to the parent's attachment index (0xffff while the parent loads) and links it first among
the parent's children. An attached instance animates through its parent. GetAttachmentPosition
transforms the attachment's offset by its bone matrix and the scene matrix.
The derivation is in the doc.
Callers 10
- CGCharacterModelBase::AttachUnitModel ui
- CGPlayer_C::OnVisibleItemChanged objectlayer
- CGPlayer_C::AttachEnchantVisual objectlayer
- CGUnit_C::RebuildWeaponTrail objectlayer
- CGUnit_C::MoveHandItem objectlayer
- CGUnit_C::AttachHandItem objectlayer
- CGUnit_C::RefreshRangedWeaponModel objectlayer
- CGUnit_C::CreateSpellEffect objectlayer
- AttachFishingLine objectlayer
- GetDrawnWeapon objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.