benilla-re systems structs docs

CGUnit_C::UpdateAutoMove

function · objectlayer · primitive

Address
0x6106b0 · 1695 bytes, up to 0x610d4e
Meaning
Steers the active mover's auto-move each frame: turn, pitch, arrival by the stop distance, the mode's action
Confidence
verified, proof one
Finding
objectlayer/unitmovement#steering-an-auto-move
Test
objectlayer::b2_arrival_test_difftest, objectlayer::b2_delta_time_difftest, objectlayer::b2_heading_add_difftest, objectlayer::b2_turn_step_difftest, objectlayer::b2_rng_jitter_gate_difftest, objectlayer::b2_heading_add_field_difftest, objectlayer::b2_turn_step_pi_difftest, objectlayer::b2_facing_error_difftest, objectlayer::b2_speed_from_timer_difftest, objectlayer::b2_range_gate_square_difftest, objectlayer::b2_anim_time_speed_difftest, objectlayer::b2_arrival_cos_threshold_difftest, objectlayer::b2_normalize_zdot_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 20

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