CM2Model::GetAttachmentOffset
function · models · orchestration
- Address
0x712cf0· 90 bytes, up to0x712d49- Meaning
- Copies an attachment's offset from its bone
- 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 1
- CCamera::BuildPivotHeights uicamera
Callees 2
- M2LookupIndex models
- CM2Model::WaitForShared models
Calls and jumps by a bare address, from tables/calls.tsv.