five-on-it / packages/world/src/geometry / supportHeight
Function: supportHeight()
supportHeight(
level,x,z,y,tolerance):number
Defined in: packages/world/src/geometry.ts:390
What carries something at height y over (x, z) (m): the ground there, or the top of a deck or a floor (an up-facing triangle of a structure) under it, whichever is higher while no higher than y + tolerance.
Parameters
level
x
number
z
number
y
number
tolerance
number
Returns
number