bug fix in neohookean force

This commit is contained in:
Xuchen Han
2019-08-27 10:17:00 -07:00
parent e73f70efa2
commit c722630fc7
2 changed files with 7 additions and 5 deletions

View File

@@ -357,7 +357,7 @@ void GraspDeformable::initPhysics()
// getDeformableDynamicsWorld()->addForce(psb, new btDeformableGravityForce(gravity));
// getDeformableDynamicsWorld()->addForce(psb, new btDeformableCorotatedForce(0,6));
btDeformableMassSpringForce* mass_spring = new btDeformableMassSpringForce(.5,0.04, true);
btDeformableMassSpringForce* mass_spring = new btDeformableMassSpringForce(.0,0.04, true);
getDeformableDynamicsWorld()->addForce(psb, mass_spring);
m_forces.push_back(mass_spring);