CMovement::LinearDisplacement
function · collision · primitive
- Address
0x7c4ed0· 81 bytes, up to0x7c4f20- Signature
void __thiscall (CMovement *this, float t, float *out)- Meaning
- Writes the displacement t seconds along the direction at the current speed
- Confidence
- verified, proof one
- Finding
- collision/kinematics#straight-line-displacement
- Test
collision::linear_move_difftest
Finding: Straight line displacement in collision: kinematics
0x7c4ed0(t, out), with s = +0x84 and d = +0x5c: out.x = fl((t·d.x)·s),
out.y = fl((t·d.y)·s), out.z = fl(fl(t·d.z)·s).
The derivation is in the doc.
Callers 1
- CMovement::ComputeDisplacement collision
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.