Skip to content

Collider2DInstance

Defined in: physics/ColliderShape2D.ts:44

A shape read off an entity, with the sensor flag the visualizers colour by and the enabled flag they decide by: a disabled collider is absent from the physics world, so the runtime overlay skips it while the editor keeps drawing it (you still author its geometry through the gizmo).

enabled: boolean

Defined in: physics/ColliderShape2D.ts:47


isSensor: boolean

Defined in: physics/ColliderShape2D.ts:46


shape: Collider2DShape

Defined in: physics/ColliderShape2D.ts:45