PhysX SDK 3.2 API Reference: PxControllerBehaviorCallback Class Reference

PhysX SDK 3.2 API

PxControllerBehaviorCallback Class Reference
[Character]

User behavior callback. More...

#include <PxControllerBehavior.h>

List of all members.


Public Member Functions

virtual PxU32 getBehaviorFlags (const PxShape &shape)=0
 Retrieve behavior flags for a shape.
virtual PxU32 getBehaviorFlags (const PxController &controller)=0
 Retrieve behavior flags for a controller.
virtual PxU32 getBehaviorFlags (const PxObstacle &obstacle)=0
 Retrieve behavior flags for an obstacle.

Protected Member Functions

virtual ~PxControllerBehaviorCallback ()

Detailed Description

User behavior callback.

This behavior callback is called to customize the controller's behavior w.r.t. touched shapes.


Constructor & Destructor Documentation

virtual PxControllerBehaviorCallback::~PxControllerBehaviorCallback (  )  [inline, protected, virtual]


Member Function Documentation

virtual PxU32 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 retrives the desired PxControllerBehaviorFlag flags capturing the desired behavior.

Parameters:
[in] obstacle The obstacle the CCT is currently touching
Returns:
Desired behavior flags for the given obstacle
See also:
PxControllerBehaviorFlag

virtual PxU32 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 retrives the desired PxControllerBehaviorFlag flags capturing the desired behavior.

Parameters:
[in] controller The controller the CCT is currently touching
Returns:
Desired behavior flags for the given controller
See also:
PxControllerBehaviorFlag

virtual PxU32 PxControllerBehaviorCallback::getBehaviorFlags ( const PxShape shape  )  [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 retrives the desired PxControllerBehaviorFlag flags capturing the desired behavior.

Parameters:
[in] shape The shape the CCT is currently touching
Returns:
Desired behavior flags for the given shape
See also:
PxControllerBehaviorFlag


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



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com