Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
ControllerCallback Class Reference
+ Inheritance diagram for ControllerCallback:
+ Collaboration diagram for ControllerCallback:

Public Member Functions

 ControllerCallback (QPhysicsWorld *worldIn)
 
void onShapeHit (const physx::PxControllerShapeHit &hit) override
 
void onControllerHit (const physx::PxControllersHit &) override
 
void onObstacleHit (const physx::PxControllerObstacleHit &) override
 

Detailed Description

Definition at line 24 of file qphysxcharactercontroller.cpp.

Constructor & Destructor Documentation

◆ ControllerCallback()

ControllerCallback::ControllerCallback ( QPhysicsWorld * worldIn)
inline

Definition at line 27 of file qphysxcharactercontroller.cpp.

Member Function Documentation

◆ onControllerHit()

void ControllerCallback::onControllerHit ( const physx::PxControllersHit & )
inlineoverride

Definition at line 46 of file qphysxcharactercontroller.cpp.

◆ onObstacleHit()

void ControllerCallback::onObstacleHit ( const physx::PxControllerObstacleHit & )
inlineoverride

Definition at line 47 of file qphysxcharactercontroller.cpp.

◆ onShapeHit()

void ControllerCallback::onShapeHit ( const physx::PxControllerShapeHit & hit)
inlineoverride

Definition at line 29 of file qphysxcharactercontroller.cpp.

References emit, QCharacterController::enableShapeHitCallback, other(), position(), QCharacterController::shapeHit(), and QPhysicsUtils::toQtType().

+ Here is the call graph for this function:

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