heightfield
Call Signature
Section titled “Call Signature”heightfield(
options):HeightfieldShape
A grid of heights in metres, rows samples along z by columns
along x, listed row by row, over size, its width along x and depth
along z, centred on the entity: a game’s own terrain, as the core
builds a map’s. A fixed body takes it, which the body’s type holds.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
HeightfieldCellsOptions |
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”heightfield(
options):HeightfieldGridShape
A heightfield from the same entity’s two-dimensional grid, rebuilt
at the next physics sync after its heights change. Grid x is world x;
grid y is world z. size is its full width and depth, centred on the entity.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
HeightfieldGridOptions |