Skip to content

composeScatterMatrix

composeScatterMatrix(__namedParameters): Matrix4

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

The one transform a placement resolves to: scaled to its height, its lowest point on the ground, turned and leaned. The view writes it into the instance and the collider bakes from it, so neither reconstructs the other’s. ponytail: seated before the lean, as realm seats. The lean is at most 0.35 rad, so the lowest point sinks by a few centimetres at the widest rock; seat against the rotated bounds if that ever shows.

Parameter Type
__namedParameters ScatterMatrixOptions

Matrix4