GetCollisionCandidateByGuid
function · ui · primitive
- Address
0x483340· 235 bytes, up to0x48342a- Meaning
- Resolves a GUID to a game object, asks its collision candidacy by class, and returns its model and box
- Confidence
- verified, proof one
- Finding
- terrain/entities#entity-gather
- Test
ui::textglue_482_gated_triple
Finding: Entity gather in terrain: entity facets
A game object's collision mesh is solid to the mover. The entity leg of the gather, 0x6abe60, runs
when the query class has any bit of 0xf00000 (the mover's does), walks a chunk's or placement's list
of entity records and calls the callback 0xc91f54 for each whose box overlaps the query box. The
callback is 0x483340: it finds the object by GUID, asks its vtable slot +0x50 with the class
word, requires a game object type, and returns the model and box. 0x6abfb0 then runs the model's
collision-mesh gather 0x7137c0, which appends a 52-byte facet per triangle to the same list as
terrain and map objects, and tags each new facet with the object's GUID in the owner array.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 1
- ClntObjMgrObjectPtr objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.