Also, How to calculate Torque from the m_appliedImpulse... At the moment, I'm doing something like this...
Code: Select all
LinearImpulse = pContactPoint.m_appliedImpulse * pContactPoint.m_normalWorldOnB;
AngularImpulse = (pContactPoint.m_positionWorldOnB - CentreOfMass) x (LinearImpulse);
Torque = AngularImpulse/TimeStep
Sandeep.