Return true if two bodies overlap Use this method if you are not interested in contacts but if you simply want to know if the two bodies overlap. If you want to get the contacts, you need to use the testCollision() method instead. * @param body1 Pointer to the first body * @param body2 Pointer to a second body * @return True if the two bodies overlap */
| 215 | * @return True if the two bodies overlap |
| 216 | */ |
| 217 | bool PhysicsWorld::testOverlap(Body* body1, Body* body2) { |
| 218 | return mCollisionDetection.testOverlap(body1, body2); |
| 219 | } |
| 220 | |
| 221 | // Return the current world-space AABB of given collider |
| 222 | /** |
no outgoing calls