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

NavMeshModifierProps

Property Type Default value Description
cost? number 100 Times a metre of open ground a metre inside costs a route: at least 1, the open ground’s own. At 100 a route goes round wherever the way round is shorter than about a hundred times the way through. Infinity cuts the box out of the navmesh, so no route crosses it.
padding? number the radius of the walker the navmesh is baked for Metres the marked footprint grows on each side, so a route’s corners keep a walker’s capsule off the box; 0 marks the box alone.
size [number, number, number] undefined The box’s full extent along its entity’s x, y and z, in metres, centred on the entity, turned and scaled with it. Floors between its bottom and its top are marked.