do not apply deformable contact impulse to points and faces constrained in rigid/deformable solve

This commit is contained in:
Xuchen Han
2020-05-20 17:56:20 -07:00
parent 65978cb58b
commit d1d2dad2e6
3 changed files with 25 additions and 23 deletions

View File

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