RavEngine
Loading...
Searching...
No Matches
physx::PxControllerShapeHit Struct Reference

Describes a hit between a CCT and a shape. Passed to onShapeHit() More...

#include <PxController.h>

Inheritance diagram for physx::PxControllerShapeHit:
[legend]
Collaboration diagram for physx::PxControllerShapeHit:
[legend]

Public Attributes

PxShape * shape
 Touched shape.
 
PxRigidActor * actor
 Touched actor.
 
PxU32 triangleIndex
 touched triangle index (only for meshes/heightfields)
 
- Public Attributes inherited from physx::PxControllerHit
PxController * controller
 Current controller.
 
PxExtendedVec3 worldPos
 Contact position in world space.
 
PxVec3 worldNormal
 Contact normal in world space.
 
PxVec3 dir
 Motion direction.
 
PxF32 length
 Motion length.
 

Detailed Description

Describes a hit between a CCT and a shape. Passed to onShapeHit()

See also
PxUserControllerHitReport.onShapeHit()

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