move erp for deformable into a separate parameter
This commit is contained in:
1 parent
e66982d658
commit
baa9dcdf08
3 files changed
+6
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user