benilla-re systems structs docs

CMovement::SweepCarrierMove

function · collision · primitive

Address
0x6343b0 · 655 bytes, up to 0x63463e
Signature
void __thiscall (CMovement *this, float dist, const float *dir, const NTempest::C44Matrix *matrix)
Meaning
Sweeps the unit along a carrier's move and, on a hit, moves it by the free distance and tries to start its fall
Confidence
verified, proof one
Finding
collision/resolve#carrier-push
Test
collision::carrier_sweep_difftest

Finding: Carrier push in collision: resolve

0x6343b0(dist, u, M) is called only from 0x5f5f10, in the transport game object's code, once per mover in a list it walks, with a distance, a unit direction and a matrix M applied to +0x10. It builds the box of p = M(+0x10), unites it with that box shifted by u·dist, adds no skin, and queries 0xc4e52c with 0x111, or 0x2111 when 0x5fa550 returns 0, plus 0x8000 under 0x6315f0's unit test: never 0x100000. After a failed query it returns. Else it sweeps from p, without testing whether the sweep failed; on a hit, unless a spline is active, +0x10 += u·a, 0x7c61c0 tries to start a fall (then 0x619ca0 and 0x602c40), and 0x617100(0, 0) runs.

The derivation is in the doc.

Callers 1

Callees 14

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