benilla-re systems structs docs

CM2Model::SetBaseTransformConformed

function · models · primitive

Address
0x7106c0 · 951 bytes, up to 0x710a76
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

Callees 12

Calls and jumps by a bare address, from tables/calls.tsv.