Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

HeightfieldShape

A grid of heights in metres: rows samples along z by columns along x, listed row by row, heights[row * columns + column], spread over size, its width along x and its depth along z, centred on the entity. A fixed body’s alone.

Property Modifier Type
columns readonly number
heights readonly readonly number[]
rows readonly number
size readonly readonly [number, number]
type readonly Heightfield