fix bugs introduced in merging

This commit is contained in:
Xuchen Han
2019-08-15 17:18:45 -07:00
parent 10cb0c368d
commit df7f216bf8
2 changed files with 0 additions and 26 deletions

View File

@@ -131,15 +131,6 @@ void btDeformableRigidDynamicsWorld::positionCorrection(btScalar timeStep)
// only perform position correction when penetrating
if (dp < 0)
{
if (constraint.m_static[j] == true)
{
if (friction.m_static[j] == true)
{
c->m_node->m_v = va;
}
c->m_node->m_v -= dp * cti.m_normal / timeStep;
c->m_node->m_v = va;
}
c->m_node->m_v -= dp * cti.m_normal / timeStep;
}
}