benilla-re systems structs docs

IsWithinArrivalDistance

function · objectlayer · primitive

Address
0x610d50 · 65 bytes, up to 0x610d90
Meaning
Returns whether two points lie within 0.002777778 of each other, by squared distance
Confidence
verified, proof one
Finding
objectlayer/unitmovement#steering-an-auto-move
Test
objectlayer::dist2_within_threshold_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 0

None by a direct call or jump.

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