PxConvexMeshExt.h File Reference

#include "PxPhysXConfig.h"
#include "common/PxPhysXCommonConfig.h"

Include dependency graph for PxConvexMeshExt.h:


This graph shows which files directly or indirectly include this file:


Go to the source code of this file.


PxU32 PxFindFaceIndex (const PxConvexMeshGeometry &convexGeom, const PxTransform &geomPose, const PxVec3 &impactPos, const PxVec3 &unitDir)
 Computes closest polygon of the convex hull geometry for a given impact point and impact direction. When doing sweeps against a scene, one might want to delay the rather expensive computation of the hit face index for convexes until it is clear the information is really needed and then use this method to get the corresponding face index.

Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com