CM2Model::EnsureAnimated
function · models · primitive
- Address
0x714000· 521 bytes, up to0x714208- Meaning
- Animates an instance this frame if it has not been, through its parent when attached
- Confidence
- verified, proof one
- Finding
- models/animation#ensure-animated
- Test
animation::m2_bone_propagate_difftest
Finding: Ensure animated in models: animation
EnsureAnimated animates an instance whose last frame is not the scene's: an attached instance
animates its parent first and then animates with the parent's attachment bone matrix, moved to the
attachment offset, as its own parent matrix, and the parent's colours and alpha.
The derivation is in the doc.
Callers 7
- CM2Model::GetKeyBonePosition models
- CM2Model::GetKeyBoneMatrix models
- CM2Model::GetAttachmentPosition models
- CM2Model::GetAttachmentMatrix models
- CM2Model::GetEventPosition models
- CM2Model::GetEventMatrix models
- CM2Model::Update models
Callees 2
- CM2Model::Animate models
- MultiplyMatrix4 cmath
Calls and jumps by a bare address, from tables/calls.tsv.