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

This class can be used to register a callback for collision overlap queries between bodies. More...

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

Classes

class  CallbackData
 This class contains data about overlap between bodies. More...
 
class  OverlapPair
 This class represents the contact between two colliders of the physics world. More...
 

Public Member Functions

virtual ~OverlapCallback ()
 Destructor.
 
virtual void onOverlap (CallbackData &callbackData)=0
 This method will be called to report bodies that overlap.
 

Detailed Description

This class can be used to register a callback for collision overlap queries between bodies.

You should implement your own class inherited from this one and implement the onOverlap() method.


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