CGUnit_C::BuildSwimTransform
function · objectlayer · primitive
- Address
0x60a110· 332 bytes, up to0x60a25b- Meaning
- Builds a swimming unit's model transform from its pitch, slot 17's facing, its scales and its position
- Confidence
- verified, proof one
- Finding
- objectlayer/unitmovement#facing
- Test
objectlayer::swing_transform_args_difftest
Finding: Facing in objectlayer: unit movement
A unit keeps a display facing at +0xc98 and a second facing at +0xc94. The active mover's
display follows the mover; another unit's turns toward its move direction or, idle, toward its
target, averaging four samples at +0xc9c. 0x6084f0 wraps an angle into −π to π.
The derivation is in the doc.
Callers 1
- CGUnit_C::PlaceModel objectlayer
Callees 2
- ScaleMatrix cmath
- BuildYawPitchRollBasis cmath
Calls and jumps by a bare address, from tables/calls.tsv.