supportHeightAt

function supportHeightAt
universe/src/structures.ts:119
supportHeightAt(asset: SurfaceAssetDefinition, x: number, z: number) → number | null

The height of the tallest feature under a point of the asset's plane, or null where nothing supports a foot. The tallest wins on purpose; see the header. Blender's XY plane maps to glTF's XZ with z = -Y, which is why a polygon's angle is atan2(-z, x): the pad's skirts were authored with a corner on Blender's +X, and that corner is at +X here too.

assetSurfaceAssetDefinition
Undocumented
xnumber
Undocumented
znumber
Undocumented
Returnsnumber | null