#include <PxQueryReport.h>
Public Member Functions | |
PX_INLINE | PxQueryHit () |
Public Attributes | |
PxU32 | faceIndex |
PX_INLINE PxQueryHit::PxQueryHit | ( | ) | [inline] |
Face index of touched triangle, for triangle meshes, convex meshes and height fields.
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.