PxQueryHit

Defined in include/geometry/PxGeometryHit.h

struct PxQueryHit

collection of set bits defined in PxHitFlag.

Scene query hit information.

See also

PxHitFlag

Subclassed by PxGeomOverlapHit, PxLocationHit

Public Functions

inline PxQueryHit()

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.