Damping for spring motors added

see btGeneric6DofSpringConstraint::setDamping()
This commit is contained in:
rponom
2009-06-02 01:10:43 +00:00
parent d58a14b4cd
commit ee664e7750
6 changed files with 21 additions and 3 deletions

View File

@@ -730,6 +730,7 @@ btScalar btSequentialImpulseConstraintSolver::solveGroupCacheFriendlySetup(btCol
info2.cfm = &currentConstraintRow->m_cfm;
info2.m_lowerLimit = &currentConstraintRow->m_lowerLimit;
info2.m_upperLimit = &currentConstraintRow->m_upperLimit;
info2.m_numIterations = infoGlobal.m_numIterations;
constraints[i]->getInfo2(&info2);
///finalize the constraint setup