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
@@ -261,10 +261,7 @@ void btDeformableMultiBodyDynamicsWorld::performGeometricCollisions(btScalar tim
{
for (int j = 0; j < psb->m_nodes.size(); ++j)
{
if (!psb->m_nodes[j].m_constrained)
{
psb->m_nodes[j].m_v *= psb->m_dampingCoefficient;
}
psb->m_nodes[j].m_v *= psb->m_dampingCoefficient;
}
}
}