PxUserControllerHitReport Class Reference
[Character]

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

#include <PxController.h>

List of all members.

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 ()


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 (  )  [inline, protected, virtual]


Member Function Documentation

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

Called when current controller hits another controller.

Parameters:
[in] hit Provides 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] hit Provides 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] hit Provides information about the hit.
See also:
PxControllerShapeHit


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


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