Gems/PhysX/Code/Source/System/PhysXCookingParams.cpp
physx::PxCookingParams GetRealTimeCookingParams()
        {
            physx::PxCookingParams params{ physx::PxTolerancesScale() };
            // disable mesh cleaning - perform mesh validation on development configurations
            params.meshPreprocessParams |= physx::PxMeshPreprocessingFlag::eDISABLE_CLEAN_MESH;
            // disable edge pre-compute, edges are set for each triangle, slows contact generation
            params.meshPreprocessParams |= physx::PxMeshPreprocessingFlag::eDISABLE_ACTIVE_EDGES_PRECOMPUTE;

            return params;
        }
//! Return PxCookingParams better suited for use at run-time, these parameters will improve cooking time.
//! Reference: https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/Geometry.html#triangle-meshes
Return PxCookingParams better suited for use at run-time, these parameters will improve cooking time.
Return PxCookingParams better suited for use at run - time these parameters will improve cooking time .
physx::PxCookingParams GetRealTimeCookingParams()
        {
            physx::PxCookingParams params{ physx::PxTolerancesScale() };
            params.meshPreprocessParams |= physx::PxMeshPreprocessingFlag::eDISABLE_CLEAN_MESH;
            params.meshPreprocessParams |= physx::PxMeshPreprocessingFlag::eDISABLE_ACTIVE_EDGES_PRECOMPUTE;
            return params;
        }
physx :: PxCookingParams GetRealTimeCookingParams ( ) { physx :: PxCookingParams params { physx :: PxTolerancesScale ( ) } ; params . meshPreprocessParams |= physx :: PxMeshPreprocessingFlag :: eDISABLE_CLEAN_MESH ; params . meshPreprocessParams |= physx :: PxMeshPreprocessingFlag :: eDISABLE_ACTIVE_EDGES_PRECOMPUTE ; return params ; }
Return PxCookingParams better suited for use at run-time, these parameters will improve cooking time.
Return PxCookingParams better suited for use at run - time these parameters will improve cooking time .
// disable mesh cleaning - perform mesh validation on development configurations // disable edge pre-compute, edges are set for each triangle, slows contact generation