PxControllerShapeHit Struct Reference

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

#include <PxController.h>

Inheritance diagram for PxControllerShapeHit:
Collaboration diagram for PxControllerShapeHit:

Public Attributes

PxShapeshape
 Touched shape. More...
 
PxRigidActoractor
 Touched actor. More...
 
PxU32 triangleIndex
 touched triangle index (only for meshes/heightfields) More...
 
- Public Attributes inherited from PxControllerHit
PxControllercontroller
 Current controller. More...
 
PxExtendedVec3 worldPos
 Contact position in world space. More...
 
PxVec3 worldNormal
 Contact normal in world space. More...
 
PxVec3 dir
 Motion direction. More...
 
PxF32 length
 Motion length. More...
 

Detailed Description

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

See also
PxUserControllerHitReport.onShapeHit()

Member Data Documentation

◆ actor

PxRigidActor* PxControllerShapeHit::actor

Touched actor.

◆ shape

PxShape* PxControllerShapeHit::shape

Touched shape.

◆ triangleIndex

PxU32 PxControllerShapeHit::triangleIndex

touched triangle index (only for meshes/heightfields)


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