the default response object used for collisions (will be automatically populated by the collides functions)
detect collision between two bodies.
a reference to body A.
a reference to body B.
true if colliding
determine if two objects should collide (based on both respective objects body collision mask and type).
you can redefine this function if you need any specific rules over what should collide with what.
a reference to the object A.
a reference to the object B.
true if they should collide, false otherwise
the Detector class contains methods for detecting collisions between bodies using a broadphase algorithm.