CMapObj::BoxOverlaps
function · models · orchestration
- Address
0x6a4670· 150 bytes, up to0x6a4705- Meaning
- Returns whether a box overlaps a map object's bounding box
- Confidence
- verified, proof one
- Finding
- terrain/lightattach#containment-walk
Finding: Containment walk in terrain: light node attach
0x6a8ed0 visits each loaded map object whose root box the node's box overlaps, and in it each group record, in the
order the records were inserted, whose group box overlaps and which is loaded. The box query decides first; if
it misses, the segment query. A group that passes is linked to the node. A group flagged 0x8 publishes
nothing; for the others the face ray runs down the segment and, on a miss, up from the same start to 1000 above
it. The last record to hit publishes, which is the nearest hit, and a tie goes to the later record.
The derivation is in the doc.
Callers 4
- LinkEntityToMapObject terrain
- GatherMapObjectFacets terrain
- TestMapObjectBox terrain
- LinkLightToGroups terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.