#include <PxController.h>
Public Member Functions | |
virtual void | onShapeHit (const PxControllerShapeHit &hit)=0 |
Called when current controller hits a shape. | |
virtual void | onControllerHit (const PxControllersHit &hit)=0 |
Called when current controller hits another controller. | |
virtual void | onObstacleHit (const PxControllerObstacleHit &hit)=0 |
Called when current controller hits a user-defined obstacle. | |
Protected Member Functions | |
virtual | ~PxUserControllerHitReport () |
virtual PxUserControllerHitReport::~PxUserControllerHitReport | ( | ) | [inline, protected, virtual] |
virtual void PxUserControllerHitReport::onControllerHit | ( | const PxControllersHit & | hit | ) | [pure virtual] |
Called when current controller hits another controller.
[in] | hit | Provides information about the hit. |
virtual void PxUserControllerHitReport::onObstacleHit | ( | const PxControllerObstacleHit & | hit | ) | [pure virtual] |
Called when current controller hits a user-defined obstacle.
[in] | hit | Provides information about the hit. |
virtual void PxUserControllerHitReport::onShapeHit | ( | const PxControllerShapeHit & | hit | ) | [pure virtual] |
Called when current controller hits a shape.
This is called when the CCT moves and hits a shape. This will not be called when a moving shape hits a non-moving CCT.
[in] | hit | Provides information about the hit. |