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

ObstaclesTrait

const ObstaclesTrait: Trait<{ bvh: () => MeshBVH | null; }>

What of the scatter she cannot walk through, baked by bakeGroundObstacles from the scatter shapes table when the ground is dressed. Null where nothing blocks; the trait’s presence is what says the bake has run.