fix a bug related to joint reaction forces (clearMultiBodyConstraintForces was clearing forces after they were computed in some cases)
This commit is contained in:
@@ -136,6 +136,9 @@ btMultiBody::btMultiBody(int n_links,
|
||||
|
||||
m_baseForce.setValue(0, 0, 0);
|
||||
m_baseTorque.setValue(0, 0, 0);
|
||||
|
||||
clearConstraintForces();
|
||||
clearForcesAndTorques();
|
||||
}
|
||||
|
||||
btMultiBody::~btMultiBody()
|
||||
|
||||
Reference in New Issue
Block a user