CMovement::MeasureHoverDrop
function · collision · primitive
- Address
0x632a30· 356 bytes, up to0x632b93- Signature
uint32_t __thiscall (CMovement *this, void *list, float *drop, const float *pos)- Meaning
- Measures how far the volume can drop straight down within the drop passed in, 0 below 1/720
- Confidence
- verified, proof one
- Finding
- collision/contact#hover-drop
- Test
collision::step_up_difftest
Finding: Hover drop in collision: contact
0x632a30(list, D, pos) measures how far the volume at pos (+0x10 when null) can drop straight
down, up to its cap of 1 yard. It builds the volume of height +0xb4 with 0x631be0, gathers for
the move (0, 0, −1) when pos is null (failure stores 0 in D and returns 0), and runs 0x632280 with
direction and sweep (0, 0, −1), cap 1.0 and D as the best, keeping the contact planes in a local
list. Only the four bevels can face downward. A D below 1/720 becomes 0. Returns 1. 0x632ba0
calls it with D = 1.0.
The derivation is in the doc.
Callers 1
- CMovement::SweepVolume collision
Callees 4
- CMovement::BuildVolume collision
- CMovement::GatherSweepFacets collision
- CMovement::FindBevelContacts collision
- InitPlaneUp collision
Calls and jumps by a bare address, from tables/calls.tsv.