benilla-re systems structs docs

CMovement::UpdateAnchors

function · collision · orchestration

Address
0x7c5cd0 · 78 bytes, up to 0x7c5d1d
Signature
void __thiscall (CMovement *this, uint32_t force)
Meaning
Copies position, facing and pitch to the anchors, zeroes the elapsed time and recomputes the direction
Confidence
verified, proof one
Name from
the community database (idb)
Finding
collision/kinematics#anchors-and-elapsed-time

Finding: Anchors and elapsed time in collision: kinematics

0x7c5cd0(force) copies the live position, facing and pitch (+0x10 to +0x20) to the anchors (+0x44 to +0x54), zeroes the elapsed time +0x58, calls 0x7c5a20(force), and calls the empty 0x6307a0 with the owner's GUID.

Each substep the caller adds its time to +0x58 (0x618bb0 only while a bit of 0xf is set) and asks 0x7c5360 for the displacement over the whole +0x58. 0x616cb0 adds it to the anchor position and subtracts the live +0x10, and the resolver 0x634040 moves +0x10 by that step. So position, facing and pitch are recomputed from the anchors every substep; only +0x58 accumulates.

The derivation is in the doc.

Callers 28

Callees 2

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