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.
Properties
Section titled “Properties”| Property | Modifier | Type |
|---|---|---|
cells |
readonly |
readonly VoxelCell[] |
size |
readonly |
number |
type |
readonly |
Voxels |