Static
BoxCreates a box collider, under the hood defines a PolygonCollider collider
Static
CapsuleCreates a new capsule shaped CompositeCollider using 2 circles and a box
Capsule colliders are useful for platformers with incline or jagged floors to have a smooth player experience.
Optional offset
Static
CircleCreates a new circle collider
Circle colliders are useful for balls, or to make collisions more forgiving on sharp edges
Radius of the circle collider
Optional offset relative to the collider in local coordinates
Static
EdgeCreates a new edge collider
Edge colliders are useful for floors, walls, and other barriers
Static
PolygonCreates a new arbitrary polygon collider
PolygonColliders are useful for creating convex polygon shapes
Excalibur helper for defining colliders quickly