I'm using The invInertiaTensorWorld in order to control the rotation of an object this way:
Code: Select all
btVector3 torq=(desiredangularvelocity-BulletBody->getAngularVelocity())/elapsedTime;
btMatrix3x3 m=BulletBody->getInvInertiaTensorWorld();
torq=torq*m.inverse();
BulletBody->applyTorque(torq);
Is it mean that whatever the torque i apply there will no rotation for this time step??
Please help