Skip to content

@modoki/engine / index / PhysicsLayersConfig

Interface: PhysicsLayersConfig

Physics

collisionMatrix?

optional collisionMatrix?: number[]

Per-layer collision bitmask (matrix[i]). If omitted, every layer collides with every layer. Truncated/padded to layers.length.


layers

layers: string[]

Built with Modoki.