Skip to content

Obstacles

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

Defined in: packages/engine/src/gameplay/world/traits.ts:19

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.