CM2Model::SetBaseTransformConformed
function · models · primitive
- Address
0x7106c0· 951 bytes, up to0x710a76- Meaning
- Builds an instance's base matrix tilted toward a ground normal by its conform mode and animation
- Confidence
- inferred
- Finding
- models/model#base-transform
- Test
models::billboard_tangent_frame_difftest,models::spline_complement_difftest,models::spline_param_fdiv_difftest,models::spline_param_fidiv_difftest
Finding: Base transform in models: the instance
0x710650 builds the base matrix as identity, translated, rotated by an angle about an axis, and
scaled. 0x7106c0 does the same with a ground normal: for header flag mode 1 it rebuilds the
rotation's rows so the third row is the normal, for mode 3 it does so through 0x710a80, and while
a key bone plays an animation with flags 2, 4 or 8 it blends the conformed rotation with the plain
one by the animation's progress.
The derivation is in the doc.
Callers 1
- CGObject_C::Conform objectlayer
Callees 12
- __ftol crt
- Vector3LengthSquared spline
- 0x4b1df0 ui
- 0x513a40 unassigned
- M2ConformRows models
- CM2Model::GetSequenceInfo models
- CM2Model::GetKeyBoneAnimState models
- AddMatrix4 cmath
- ScaleMatrix4Entries cmath
- TranslateMatrix cmath
- ScaleMatrixRows cmath
- RotateMatrix cmath
Calls and jumps by a bare address, from tables/calls.tsv.