Public Attributes | List of all members
PxControllerShapeHit Struct Reference

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

#include <PxController.h>

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

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

PxRigidActor* PxControllerShapeHit::actor

Touched actor.

PxShape* PxControllerShapeHit::shape

Touched shape.

PxU32 PxControllerShapeHit::triangleIndex

touched triangle index (only for meshes/heightfields)


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


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