|
RavEngine
|
Scene query hit information for raycasts and sweeps returning hit position and normal information. More...
#include <PxGeometryHit.h>
Public Member Functions | |
| PX_INLINE bool | hadInitialOverlap () const |
Public Attributes | |
| PxHitFlags | flags |
| Hit flags specifying which members contain valid values. | |
| PxVec3 | position |
| World-space hit position (flag: PxHitFlag::ePOSITION) | |
| PxVec3 | normal |
| World-space hit normal (flag: PxHitFlag::eNORMAL) | |
| PxF32 | distance |
| Distance to hit. | |
Public Attributes inherited from physx::PxQueryHit | |
| PxU32 | faceIndex |
Scene query hit information for raycasts and sweeps returning hit position and normal information.
::PxHitFlag flags can be passed to scene query functions, as an optimization, to cause the SDK to only generate specific members of this structure.
|
inline |
| PxF32 physx::PxLocationHit::distance |
Distance to hit.