#include <PxControllerBehavior.h>
Public Member Functions | |
virtual PxControllerBehaviorFlags | getBehaviorFlags (const PxShape &shape, const PxActor &actor)=0 |
Retrieve behavior flags for a shape. | |
virtual PxControllerBehaviorFlags | getBehaviorFlags (const PxController &controller)=0 |
Retrieve behavior flags for a controller. | |
virtual PxControllerBehaviorFlags | getBehaviorFlags (const PxObstacle &obstacle)=0 |
Retrieve behavior flags for an obstacle. | |
Protected Member Functions | |
virtual | ~PxControllerBehaviorCallback () |
This behavior callback is called to customize the controller's behavior w.r.t. touched shapes.
virtual PxControllerBehaviorCallback::~PxControllerBehaviorCallback | ( | ) | [inline, protected, virtual] |
virtual PxControllerBehaviorFlags PxControllerBehaviorCallback::getBehaviorFlags | ( | const PxObstacle & | obstacle | ) | [pure virtual] |
Retrieve behavior flags for an obstacle.
When the CCT touches an obstacle, the CCT's behavior w.r.t. this obstacle can be customized by users. This function retrieves the desired PxControllerBehaviorFlag flags capturing the desired behavior.
[in] | obstacle | The obstacle the CCT is currently touching |
virtual PxControllerBehaviorFlags PxControllerBehaviorCallback::getBehaviorFlags | ( | const PxController & | controller | ) | [pure virtual] |
Retrieve behavior flags for a controller.
When the CCT touches a controller, the CCT's behavior w.r.t. this controller can be customized by users. This function retrieves the desired PxControllerBehaviorFlag flags capturing the desired behavior.
See comments about deprecated functions at the start of this class
[in] | controller | The controller the CCT is currently touching |
virtual PxControllerBehaviorFlags PxControllerBehaviorCallback::getBehaviorFlags | ( | const PxShape & | shape, | |
const PxActor & | actor | |||
) | [pure virtual] |
Retrieve behavior flags for a shape.
When the CCT touches a shape, the CCT's behavior w.r.t. this shape can be customized by users. This function retrieves the desired PxControllerBehaviorFlag flags capturing the desired behavior.
[in] | shape | The shape the CCT is currently touching |
[in] | actor | The actor owning the shape |