Jump to content
  • Advertisement

Archived

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

EiS

rotation question

This topic is 5749 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

Hi! I’m doing this little flightsim project in my spare time and I have some problem with rotation. When looking at my aircraft from my external camera, I can’t get the rotation of my aircraft correct. When I’m pitching the aircraft around the x-axis I can’t get the correct roll around the z-axis. How do I have to do this to get the correct rotation? -Eis

Share this post


Link to post
Share on other sites
Advertisement
Look into Quaternions there are some good articals here in the Articals & Recsources section under math and physics,

you can''t do full degrees of freedom just by using opengl''s rotations with out anything else. meaning you need extra math to do the rotations correctly.

hope that helps.

Share this post


Link to post
Share on other sites
http://www.sjbaker.org/steve/omniv/index.html

http://uk.geocities.com/sloppyturds/kea/kea.html
http://uk.geocities.com/sloppyturds/gotterdammerung.html

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!