mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-26 02:25:35 +00:00
treat the feature with the deepest penetration as static in deformable contact
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user