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

VoxelsShape

A grid of cubes size metres on a side: each filled cell [x, y, z] is the cube from [x, y, z] times size to one size past it, in the entity’s own axes. setVoxel fills or empties one cell. A fixed body’s alone.

Property Modifier Type
cells readonly readonly VoxelCell[]
size readonly number
type readonly Voxels