CGUnit_C::AutoMoveTurnToward
function · objectlayer · primitive
- Address
0x6103d0· 327 bytes, up to0x610516- Meaning
- Turns toward a facing at the wide or narrow CVar speed, at most a step; false within 0.001
- Confidence
- verified, proof one
- Finding
- objectlayer/unitmovement#steering-an-auto-move
- Test
objectlayer::facing_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
- CGUnit_C::UpdateAutoMove objectlayer
Callees 4
- AngleWrap fastmath
- CGUnit_C::PressCommand800000 objectlayer
- CGUnit_C::InputSetWorldFacing objectlayer
- CVar::Lookup cvar
Calls and jumps by a bare address, from tables/calls.tsv.