bakeObstacles
bakeObstacles(
__namedParameters):MeshBVH|null
Defined in: packages/engine/src/gameplay/map/obstacleBake.ts:69
Every blocking placement in one geometry under a BVH, or null where nothing blocks: a map with no rock is legal and an empty BVH is not. Each shape is built in its model’s space, so the matrix the view seats the model with seats and sizes the shape the same way.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
BakeObstaclesOptions |
Returns
Section titled “Returns”MeshBVH | null