useGroundHeight
useGroundHeight():
GroundHeight|undefined
The ground under a point across every Landscape in the world, again as
one is spawned, its surface changes or it goes: the first ground a ray
cast straight down from half a metre above the point meets, of those
whose map reaches it, else the lowest; off every map, the same at the
largest map’s edge. With one Landscape it is that ground’s own
surface, and with none undefined. Unlike findGroundHeight, it picks
a ground where two stand rather than throwing, as findGroundUnder
names it outside a view. What VrmView’s springs keep above by
default, for a view of your own that lays a body on the ground.
Returns
Section titled “Returns”GroundHeight | undefined