PxGeomOverlapHit

Defined in include/geometry/PxGeometryHit.h

struct PxGeomOverlapHit : public PxQueryHit

Stores results of overlap queries.

See also

PxScene.overlap

Subclassed by PxOverlapHit

Public Functions

inline PxGeomOverlapHit()

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.