PxComputeCollisionData#
Defined in include/cooking/PxCooking.h
- physx::PxCollisionTetrahedronMeshData *PxComputeCollisionData(
- const physx::PxCookingParams ¶ms,
- const physx::PxTetrahedronMeshDesc &collisionMeshDesc,
Computes data to accelerate collision detection of tetrahedral meshes.
Computes data structures to speed up collision detection with tetrahedral meshes.
- Parameters:
params – [in] The cooking parameters
collisionMeshDesc – [in] Raw tetrahedral mesh descriptor which will be used for collision detection
- Returns:
PxCollisionTetrahedronMeshData pointer that describes the collision mesh