benilla-re systems structs docs

s_walkableFacetList

global · terrain

Address
0xc7b358 · 32 bytes, up to 0xc7b377
Type
uint32_t[8]
Meaning
Holds the private facet list the walkable-only query gathers into
Confidence
verified, proof one
Finding
terrain/collide#world-triangle-query

Finding: World triangle query in terrain: collide

QueryWorldTriangles (0x6721b0) empties the list and gathers the facets in the box through 0x6aa8b0. With mask bit 0x4000 it gathers into a private list instead and keeps only facets whose normal's z is at least 0.64278764, cos 50°, copying each with its owner id. It returns the gather's result, 1 for a completed query.

The derivation is in the doc.