heightfield asset type
A grid of heights for terrain: rows by columns samples in heights, row-major, one value per grid point. holes lists cells with no ground, each as the…
Files live in heightfields/. Used by collider2d · heightfield, collider3d · heightfield.
A grid of heights for terrain: rows by columns samples in heights, row-major, one value per grid point. holes lists cells with no ground, each as the [row, column] of its first corner; a 2D collider reads the heights as one line, and a hole there removes the segment starting at that point.
[[assets]]
id = "valley"
type = "heightfield"
rows = 3
columns = 3
heights = [0, 0, 0, 0, -1, 0, 0, 0, 0]
holes = [[1, 1]]