MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / testOverlap

Method testOverlap

include/reactphysics3d/engine/PhysicsWorld.h:539–541  ·  view source on GitHub ↗

Report all the bodies that overlap (collide) with the body in parameter Use this method if you are not interested in contacts but if you simply want to know which bodies overlap with the body in parameter. If you want to get the contacts, you need to use the testCollision() method instead. * @param body Pointer to the collision body to test overlap with * @param overlapCallback Pointer to the cal

Source from the content-addressed store, hash-verified

537 * @param overlapCallback Pointer to the callback class to report overlap
538 */
539RP3D_FORCE_INLINE void PhysicsWorld::testOverlap(Body* body, OverlapCallback& overlapCallback) {
540 mCollisionDetection.testOverlap(body, overlapCallback);
541}
542
543// Report all the bodies that overlap (collide) in the world
544/// Use this method if you are not interested in contacts but if you simply want to know

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected