Qt 6.x
The Qt SDK
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 361 of file qphysicsworld.cpp.

Constructor & Destructor Documentation

◆ ControllerCallback()

ControllerCallback::ControllerCallback ( QPhysicsWorld worldIn)
inline

Definition at line 364 of file qphysicsworld.cpp.

Member Function Documentation

◆ onControllerHit()

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

Definition at line 383 of file qphysicsworld.cpp.

◆ onObstacleHit()

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

Definition at line 384 of file qphysicsworld.cpp.

◆ onShapeHit()

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

Definition at line 366 of file qphysicsworld.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: