Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Angular velocity & interia tensor giving odd results.

This topic is 5354 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Picture a stationary box of different dimensions length, breadth & height. It is twisted so none of its local axes coincide with any world axes. Then I apply a torque (A,0,0) in world coords ie trying to twist about the world x-axis. In my mind it should begin to rotate about the world x-axis (and it does if he inertia is modelled as a sphere) but because we''re doing... dw = torque*(rot*invI*invRot) (where dw=change in ang. vel, invI is inverse of the inertia tensor in local coords) ...the rotation is about some other axis (try it yourself on paper to see the dw vector has different direction to the torque one). I know it''s not my angular rotation code because if I just set a rotation about word x-axis it works as planned. So is it working as it should and I can''t tell or is there an error?

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!