Public Member Functions | Protected Member Functions | List of all members
PxUserControllerHitReport Class Referenceabstract

User callback class for character controller events. More...

#include <PxController.h>

Public Member Functions

virtual void onShapeHit (const PxControllerShapeHit &hit)=0
 Called when current controller hits a shape. More...
 
virtual void onControllerHit (const PxControllersHit &hit)=0
 Called when current controller hits another controller. More...
 
virtual void onObstacleHit (const PxControllerObstacleHit &hit)=0
 Called when current controller hits a user-defined obstacle. More...
 

Protected Member Functions

virtual ~PxUserControllerHitReport ()
 

Detailed Description

User callback class for character controller events.

Note
Character controller hit reports are only generated when move is called.
See Also
PxControllerDesc.callback

Constructor & Destructor Documentation

virtual PxUserControllerHitReport::~PxUserControllerHitReport ( )
inlineprotectedvirtual

Member Function Documentation

virtual void PxUserControllerHitReport::onControllerHit ( const PxControllersHit hit)
pure virtual

Called when current controller hits another controller.

Parameters
[in]hitProvides information about the hit.
See Also
PxControllersHit
virtual void PxUserControllerHitReport::onObstacleHit ( const PxControllerObstacleHit hit)
pure virtual

Called when current controller hits a user-defined obstacle.

Parameters
[in]hitProvides information about the hit.
See Also
PxControllerObstacleHit PxObstacleContext
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.

Parameters
[in]hitProvides information about the hit.
See Also
PxControllerShapeHit

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


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