Inside of the ImpulsePhysics::CollisionChecks2D
namespace, you will find the following functions available to you to check for any possible overlap:
(All of these return a bool
as value, with true
meaning the two given 2D Primitives are overlapping.)
Point tests
Line tests
Circle tests
Rectangle tests
Oriented Rectangle tests