RavEngine
Loading...
Searching...
No Matches
physx::PxQueryHit Struct Reference

collection of set bits defined in PxHitFlag. More...

#include <PxGeometryHit.h>

Inheritance diagram for physx::PxQueryHit:
[legend]

Public Attributes

PxU32 faceIndex
 

Detailed Description

collection of set bits defined in PxHitFlag.

See also
PxHitFlag

Scene query hit information.

Member Data Documentation

◆ 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: