CM2Model::SetBaseTransformTRS
function · models · orchestration
- Address
0x710650· 108 bytes, up to0x7106bb- Meaning
- Builds an instance's base matrix from a position, an angle about an axis, and a scale
- Confidence
- inferred
- Finding
- models/model#base-transform
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 3
- SetCreateFacing glue
- SetCharSelectFacing glue
- SimpleModelUpdateTransform ui
Callees 3
- TranslateMatrix cmath
- ScaleMatrixRows cmath
- RotateMatrix cmath
Calls and jumps by a bare address, from tables/calls.tsv.