CMovement::SetPositionAndFacing
function · collision · orchestration
- Address
0x7c69a0· 124 bytes, up to0x7c6a1b- Signature
void __thiscall (CMovement *this, const float *position, float facing, uint32_t free_spline)- Meaning
- Places the mover, zeroes pitch, clears the motion bits, ends any fall and re-anchors; ends a live spline
- Confidence
- verified, proof one
- Finding
- collision/commands#position-reset
Finding: Position reset in collision: commands
0x7c69a0(pos, facing, free) stores the position +0x10 and the facing +0x1c as given, zeroes
the pitch, and clears 0xff, 0x8000, 0x10000 to 0x200000 and 0x4000000. It then runs the landing
0x7c6290, re-anchors, and updates the speed. A live spline (present, flag 0x4 clear) is freed
through 0x7c6310 when free is nonzero, and otherwise marked ended with flag 0x4. Its one
caller is 0x617e90.
The derivation is in the doc.
Callers 1
- CMovement::Teleport collision
Callees 4
- CMovement::UpdateCurrentSpeed collision
- CMovement::UpdateAnchors collision
- CMovement::StopFalling collision
- CMovement::ClearSpline collision
Calls and jumps by a bare address, from tables/calls.tsv.