collection of set bits defined in PxHitFlag.
More...
#include <PxGeometryHit.h>
collection of set bits defined in PxHitFlag.
- See also
- PxHitFlag
Scene query hit information.
◆ faceIndex
| PxU32 physx::PxQueryHit::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.
-
Please refer to the user guide for more details for sweep queries.
-
This index is remapped by mesh cooking. Use PxTriangleMesh::getTrianglesRemap() to convert to original mesh index.
-
For convex meshes use PxConvexMesh::getPolygonData() to retrieve touched polygon data.
The documentation for this struct was generated from the following file: