NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxConvexMeshExt.h File Reference

NVIDIA PhysX SDK 3.4 API

PxConvexMeshExt.h File Reference

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

Include dependency graph for PxConvexMeshExt.h:

PxPhysXConfig.hcommon/PxPhysXCommonConfig.hfoundation/Px.hfoundation/PxSimpleTypes.hfoundation/PxPreprocessor.h

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

PxPhysicsAPI.h

Go to the source code of this file.


Functions

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