CMovement::Teleport
function · collision · primitive
- Address
0x617e90· 302 bytes, up to0x617fbd- Signature
void __thiscall (CMovement *this, uint32_t transportLo, uint32_t transportHi, const float *position, float facing, uint32_t endSpline, uint8_t send)- Meaning
- Moves the unit to a pose on a transport, restarts its fall and blends, and tests a jump past 30 yards
- Confidence
- verified, proof one
- Finding
- collision/eventapply#teleport-apply
- Test
collision::facing_pos_gate_difftest
Finding: Teleport apply in collision: event applies
0x617e90(transport, position, facing, endSpline, send) sets the transport through 0x617170
and stops unless CMovement+0x38 then equals the given GUID. It then computes
d² = (dz² + dy²) + dx² of the old position +0x10 minus the new one, at 53 bits; places it
(0x7c69a0); deactivates it when the queue is empty; unless send is nonzero and the unit
is not the one this client moves, starts a fall and activates the movement when one starts;
re-resolves the world position (0x7c4930, 0x634030); calls 0x6309f0, and 0x630bd0 when
d² exceeds 900.0; and zeroes +0x148 and +0x14c. 0x6186b0 applies tag 38 with the status's
transport-local pose, or its world pose off a transport; 0x618720 queues tag 38 with a
counter, position and facing.
The derivation is in the doc.
Callers 4
- CMovement::UpdatePlayerMovement collision
- CMovement::DispatchFlushedEvent collision
- CMovement::FlushAndPlace collision
- CMovement::ApplyTeleport collision
Callees 10
- HasMoveEvents collision
- CMovement::SetTransportGuid collision
- CMovement::Activate collision
- CMovement::Deactivate collision
- NotifyCameraTransportChange collision
- ReloadWorldForCameraTarget collision
- CMovement::IgnoreWorldPosition collision
- CMovement::TransportToWorld collision
- CMovement::StartFalling collision
- CMovement::SetPositionAndFacing collision
Calls and jumps by a bare address, from tables/calls.tsv.