ReactPhysics3D  v0.10.1
C++ Physics engine library
reactphysics3d::CollisionCallback Class Referenceabstract

This abstract class can be used to register a callback for collision test queries. More...

#include <include/reactphysics3d/collision/CollisionCallback.h>

Inheritance diagram for reactphysics3d::CollisionCallback:
reactphysics3d::EventListener reactphysics3d::DebugRenderer

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.
 

Detailed Description

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.


The documentation for this class was generated from the following file: