Skip to content

ScatterPlacement

Defined in: packages/engine/src/gameplay/map/scatterPlacement.ts:26

One instance: which mesh, where it stands and how it is turned. The view and the collider bake both read this list, and both seat the model with composeScatterMatrix.

Property Type Description
height number Metres tall the model is scaled to, before it leans.
kind ScatterKind -
position Vector3 On the ground: y is the surface height at x, z.
rotationY number Radians of yaw.
tilt number Radians of lean, about x after the yaw.