Gems/PhysX/Code/Source/System/PhysXCookingParams.cpp
physx::PxCookingParams GetEditTimeCookingParams()
        {
            physx::PxCookingParams params{ physx::PxTolerancesScale() };
            // when set, mesh welding is performed - clean mesh must be enabled
            params.meshPreprocessParams |= physx::PxMeshPreprocessingFlag::eWELD_VERTICES;
            // note: default value in PxCookingParams is 0.0f;
            const float physx_CookWeldTolerance = 0.0001f;
            params.meshWeldTolerance = physx_CookWeldTolerance;

            return params;
        }
//! Return PxCookingParams better suited for use at edit-time, these parameters will
//! increase cooking time but improve accuracy/precision.
Return PxCookingParams better suited for use at edit-time, these parameters will
increase cooking time but improve accuracy/precision.
Return PxCookingParams better suited for use at edit - time these parameters will increase cooking time but improve accuracy / precision .
physx::PxCookingParams GetEditTimeCookingParams()
        {
            physx::PxCookingParams params{ physx::PxTolerancesScale() };
            params.meshPreprocessParams |= physx::PxMeshPreprocessingFlag::eWELD_VERTICES;
            const float physx_CookWeldTolerance = 0.0001f;
            params.meshWeldTolerance = physx_CookWeldTolerance;
            return params;
        }
physx :: PxCookingParams GetEditTimeCookingParams ( ) { physx :: PxCookingParams params { physx :: PxTolerancesScale ( ) } ; params . meshPreprocessParams |= physx :: PxMeshPreprocessingFlag :: eWELD_VERTICES ; const float physx_CookWeldTolerance = 0.0001f ; params . meshWeldTolerance = physx_CookWeldTolerance ; return params ; }
Return PxCookingParams better suited for use at edit-time, these parameters will
increase cooking time but improve accuracy/precision.
Return PxCookingParams better suited for use at edit - time these parameters will increase cooking time but improve accuracy / precision .
// when set, mesh welding is performed - clean mesh must be enabled // note: default value in PxCookingParams is 0.0f;