treat the feature with the deepest penetration as static in deformable contact

This commit is contained in:
Xuchen Han
2020-04-15 14:48:53 -07:00
parent ebc84b3b8d
commit 5cb252dc4c
5 changed files with 23 additions and 27 deletions

View File

@@ -431,7 +431,7 @@ void btDeformableBodySolver::predictDeformableMotion(btSoftBody* psb, btScalar d
n.m_v *= max_v;
}
n.m_q = n.m_x + n.m_v * dt;
n.m_constrained = false;
n.m_penetration = 0;
}
/* Nodes */