PxOverlapHit

Defined in include/PxQueryReport.h

Inheritance Relationships

Base Types

struct PxOverlapHit : public PxGeomOverlapHit, public PxActorShape

Public Members

PxU32 faceIndex

Face index of touched triangle, for triangle meshes, convex meshes and height fields.

Note

This index will default to 0xFFFFffff value for overlap queries.

Note

Please refer to the user guide for more details for sweep queries.

Note

This index is remapped by mesh cooking. Use PxTriangleMesh::getTrianglesRemap() to convert to original mesh index.

Note

For convex meshes use PxConvexMesh::getPolygonData() to retrieve touched polygon data.

PxRigidActor *actor
PxShape *shape