CM2Model::GetAttachmentPosition
function · models · orchestration
- Address
0x712d50· 137 bytes, up to0x712dd8- Meaning
- Returns an attachment's position transformed by its bone and the scene
- 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 8
- CGUnit_C::OnModelEvent objectlayer
- CGUnit_C::GetNamePosition objectlayer
- CGUnit_C::DrawBowstring objectlayer
- CMissile::Aim objectlayer
- UpdateSpellEffectObject objectlayer
- CGUnit_C::GetAttachmentPoint objectlayer
- OnCombatModelEvent objectlayer
- GetSpellImpactPoint spell
Callees 4
- M2LookupIndex models
- CM2Model::WaitForShared models
- CM2Model::EnsureAnimated models
- TransformPoint cmath
Calls and jumps by a bare address, from tables/calls.tsv.