|  | ReactPhysics3D
    v0.10.2
    C++ Physics engine library | 
This abstract class can be used to register a callback for collision test queries. More...
#include <include/reactphysics3d/collision/CollisionCallback.h>
 
  
| Classes | |
| class | CallbackData | 
| This class contains data about contacts between bodies.  More... | |
| class | ContactPair | 
| This class represents the contact between two colliders of the physics world.  More... | |
| class | ContactPoint | 
| This class represents a contact point between two colliders of the physics world.  More... | |
| Public Member Functions | |
| virtual | ~CollisionCallback ()=default | 
| Destructor. | |
| virtual void | onContact (const CallbackData &callbackData)=0 | 
| This method is called when some contacts occur. | |
This abstract class can be used to register a callback for collision test queries.
You should implement your own class inherited from this one and implement the notifyContact() method. This method will called each time a contact point is reported.
| 
 | pure virtual | 
This method is called when some contacts occur.
Implemented in reactphysics3d::DebugRenderer, and reactphysics3d::EventListener.