Detect collisions between different shapes such as Points, Lines, Boxes, Polygons (including concave), Ellipses, and Circles. Features include RayCasting and support for offsets, rotation, scaling, bounding box padding, with options for static and trigger bodies (non-colliding).
In
checkCollision
the bbox of bodyA was used twice. When this is fixedcheckCollision
returns early and this PR includes a test for this case