fix bug in deformable replulsion force and adjust parameter in deformable self collision

This commit is contained in:
Xuchen Han
2020-06-26 14:19:44 -07:00
parent 4317ddc285
commit 70a0ef65d8
3 changed files with 8 additions and 5 deletions
@@ -290,6 +290,7 @@ btScalar btDeformableRigidContactConstraint::solveConstraint(const btContactSolv
if (m_total_normal_dv.dot(cti.m_normal) < 0)
{
// separating in the normal direction
m_binding = false;
m_static = false;
impulse_tangent.setZero();
}