benilla-re systems structs docs

CGUnit_C::AutoMovePitchToward

function · objectlayer · primitive

Address
0x610520 · 389 bytes, up to 0x6106a4
Meaning
Pitches a swimming auto-mover toward its point; returns whether it is within 0.3927 radians
Confidence
verified, proof one
Finding
objectlayer/unitmovement#steering-an-auto-move
Test
objectlayer::pitch_interp_difftest

Finding: Steering an auto-move in objectlayer: unit movement

0x6106b0 runs each frame for the active mover. It reads the target (0x610e40), turns toward it by at most the CVar turn speed, pitches a swimmer, and arrives inside the stop distance. Arrival runs the mode's action through 0x60f940, and 0x60fa20 completes a pending interaction after the move.

The derivation is in the doc.

Callers 1

Callees 3

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