Hi,
I use :
hinge->enableAngularMotor(true, m_fVelocity*3.14/180.0,2000);
to set the targetVelocity, the units of m_fVelocity is degree per second, I set the impulseValue large enough to make the velocity acts like a const.
When simulate, the hinge rotation looks much slower than expected. What may cause that?
I use m_pBulletWorld->getSolverInfo().m_numIterations=200 to improve the rigidity of the constraint. I am not sure if that will make an contribution to that.
Thanks!
Tony