Fix Featherstone btMultiBodyPoint2Point constraint and picking: don't assume body 0 is the fixed body!

This commit is contained in:
erwin.coumans
2013-10-22 21:06:47 +00:00
parent 75260cd0d7
commit f22ceecb82
3 changed files with 11 additions and 1 deletions

View File

@@ -765,6 +765,8 @@ void btMultiBodyConstraintSolver::convertContacts(btPersistentManifold** manifol
{
btMultiBodyConstraint* c = m_tmpMultiBodyConstraints[i];
m_data.m_solverBodyPool = &m_tmpSolverBodyPool;
m_data.m_fixedBodyId = m_fixedBodyId;
c->createConstraintRows(m_multiBodyNonContactConstraints,m_data, infoGlobal);
}