benilla-re systems structs docs

s_stopNearSquared

global · collision

Address
0x80c5bc · 4 bytes, up to 0x80c5bf
Type
const float
Meaning
Holds 9.0, the squared distance under which a stop-form move flushes at its point
Confidence
verified, proof one
Finding
collision/ride#monster-move-body

Finding: Monster move body in collision: riding a transport

The body is the same for both opcodes: the start point, a u32 spline id, a u8 type, a facing payload by the type (none, a vector, a raw 8-byte GUID, a float) and, for types other than 1, the spline flags, a duration and a point count with the points. Type 1 is the stop form: flags 0x100, duration 0 and one point replace those fields, so a 0x2ae stop is the two packed GUIDs, three floats, the spline id and the type byte. A stop within 3 yards of the unit flushes and stops at the point (0x618750) and jumps past the shared tail, so it does not clear the precast, the ranged pose or the hold.

The derivation is in the doc.