Default collision callback to check collision between collision objects. More...
#include <default_broadphase_callbacks.h>
Public Member Functions | |
bool | collide (CollisionObject *o1, CollisionObject *o2) |
Collision evaluation between two objects in collision. This callback will cause the broadphase evaluation to stop if it returns true. More... | |
void | init () |
Initialize the callback. Clears the collision result and sets the done boolean to false. More... | |
virtual | ~CollisionCallBackDefault () |
Public Member Functions inherited from coal::CollisionCallBackBase | |
virtual bool | operator() (CollisionObject *o1, CollisionObject *o2) |
Functor call associated to the collide operation. More... | |
Public Attributes | |
CollisionData | data |
Default collision callback to check collision between collision objects.
Definition at line 196 of file coal/broadphase/default_broadphase_callbacks.h.
|
inlinevirtual |
Definition at line 205 of file coal/broadphase/default_broadphase_callbacks.h.
|
virtual |
Collision evaluation between two objects in collision. This callback will cause the broadphase evaluation to stop if it returns true.
[in] | o1 | Collision object #1. |
[in] | o2 | Collision object #2. |
Implements coal::CollisionCallBackBase.
Definition at line 61 of file default_broadphase_callbacks.cpp.
|
inlinevirtual |
Initialize the callback. Clears the collision result and sets the done boolean to false.
Reimplemented from coal::CollisionCallBackBase.
Definition at line 199 of file coal/broadphase/default_broadphase_callbacks.h.
CollisionData coal::CollisionCallBackDefault::data |
Definition at line 203 of file coal/broadphase/default_broadphase_callbacks.h.