PxComputeSimulationData#
Defined in include/cooking/PxCooking.h
- physx::PxSimulationTetrahedronMeshData *PxComputeSimulationData(
- const physx::PxCookingParams ¶ms,
- const physx::PxTetrahedronMeshDesc &simulationMeshDesc,
Computes data to accelerate collision detection of tetrahedral meshes.
Computes data to compute and store a deformable volume’s deformation using FEM.
- Parameters:
params – [in] The cooking parameters
simulationMeshDesc – [in] Raw tetrahedral mesh descriptor which will be used for FEM simulation
- Returns:
PxSimulationTetrahedronMeshData pointer that describes the simulation mesh