Physics · interface
Collider
A world obstacle: its bounds, and optionally the volume it really is.
Explained in Your first game, Rigid bodies.
interface Collider extends Aabbimport type { Collider } from '@driftengine/physics';Properties
| Name | Type | Description |
|---|---|---|
shapeoptional | ConvexShape | undefined | Points in world space — static shapes are baked, not transformed per query. |