benilla-re systems structs docs

CGUnit_C::RotateFacings

function · objectlayer · primitive

Address
0x601050 · 125 bytes, up to 0x6010cc
Signature
void __thiscall (CGUnit_C *this, float angle)
Meaning
Adds a transport's turn to the facings +0xc98 and +0xc94, wrapping each once into 0 to 2π
Confidence
verified, proof one
Finding
objectlayer/unitmovement#facing
Test
objectlayer::wrap_angle_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 2

Callees 0

None by a direct call or jump.

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