CMovement::GetFallDrop
function · collision · orchestration
- Address
0x7c6140· 20 bytes, up to0x7c6153- Signature
float __thiscall (CMovement *this, uint32_t ms)- Meaning
- Returns 0x7c6110(ms, z) for the mover's own z: the drop from here to the arc at ms
- Confidence
- verified, proof one
- Finding
- collision/falling#fall-distance
Finding: Fall distance in collision: falling
0x7c5e70(t) returns the drop D(t) at 53 bits. With vc as in 0x7c5d20: while vc + g·t is
below or equal to T, D = (vc + (g/2)·t)·t. Above it, or NaN, with tT = (T − vc)·(1/g),
D = (vc + (g/2)·tT)·tT + (t − tT)·T: the parabola to the cap, then straight at T. 0x7c5f00(ms)
calls it with t = float(ms · 0.001). 0x7c5f30(ms) returns z + D. 0x7c6110(ms, z) returns D,
less (+0x7c − z) while 0x2000 is set. 0x7c6140(ms) passes the mover's own z: the further
drop from the current height to the arc at ms. The resolvers 0x633840 and 0x635b00 call it
with +0x78 plus the step's milliseconds (0x633a31, 0x635b2e), and 0x635f80 too.
The derivation is in the doc.
Callers 3
- CMovement::QuerySweptBox collision
- CMovement::ResolveFall collision
- CMovement::ProbeFallAway collision
Callees 1
- CMovement::GetFallDropFrom collision
Calls and jumps by a bare address, from tables/calls.tsv.