Creates a box collision shape, under the hood defines a ConvexPolygon collision shape
Width of the box
Height of the box
Anchor of the box (default (.5, .5)) which positions the box relative to the center of the collider's position
Optional offset relative to the collider in local coordinates
Creates a new arbitrary polygon collision shape
Points specified in counter clockwise
Optionally changed the winding of points, by default false meaning counter-clockwise winding.
Optional offset relative to the collider in local coordinates
Excalibur shape helper for defining collision shapes quickly