Fix issue #2473
This commit is contained in:
erwincoumans
2019-11-08 20:45:05 -08:00
committed by GitHub
4 changed files with 6 additions and 5 deletions

View File

@@ -162,9 +162,9 @@ void SplitImpulse::initPhysics()
}
#ifdef USE_SPLIT_IMPULSE
getDeformableDynamicsWorld()->getSolverInfo().m_erp = 0.03;
getDeformableDynamicsWorld()->getSolverInfo().m_deformable_erp = 0.03;
#else
getDeformableDynamicsWorld()->getSolverInfo().m_erp = 0.0;
getDeformableDynamicsWorld()->getSolverInfo().m_deformable_erp = 0.0;
#endif
// create a piece of cloth