A collision collider specifies the geometry that can detect when other collision colliders intersect for the purposes of colliding 2 objects in excalibur.

Hierarchy

Constructors

Properties

events: EventDispatcher<Collider> = ...
id: Id<"collider"> = ...
offset: Vector

Pixel offset of the collision collider relative to the collider, by default (0, 0) meaning the collider is positioned on top of the collider.

owner: Entity

Accessors

Methods