What defineBlockSet takes.
| Type Parameter |
Name extends string |
| Property |
Type |
Default value |
Description |
blocks |
Readonly<Record<Name, BlockOptions>> |
undefined |
- |
cellSize? |
Triple |
[1, 0.5, 1] |
A cell’s width, a height step and its depth, in metres, as the engine’s voxels takes a box. Luminati’s cells are 1 m with 0.5 m steps; Unity’s Grid.cellSize is 1 by 1 by 1, Godot’s GridMap cell_size 2 by 2 by 2, and Roblox’s terrain voxels 4 studs. Half a metre stays under the character’s 0.6 m step, so a one-step ledge walks and two do not. |
colliderHeight? |
number |
4 |
Metres a blocked cell’s wall stands over its top, rounded up to whole steps: the tile set’s colliderHeight, which the default character neither jumps nor shoots over. |
patchSize? |
number |
4.35 |
Metres between the lattice points of the map’s patch field, which every cover’s patches reads: its clumps run about this wide. One value retunes every cover’s patches on the set’s maps. The reference’s runs 0.23 a metre. |