Jump to content
  • Advertisement

Archived

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

Daivuk

Space Orienting

This topic is 5887 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 there (sorry about my english, i''m from quebec). I''m trying to make a space fighter game. Like TIE fighter using OpenGL. But I don''t have any idea how to oriente it in 3D space. I''m talking about when I turn my ship. I tried to use it like that : glRotated (ZAngleShip,1,0,0); glRotated (XAngleShip,0,1,0); glRotated (YAngleShip,0,0,1); But it is not working well. I want 2 function. Roll the shit (left right arrows) and pitch up and down (up dans down arrows). But when I pitch up, after that I roll my shit and it not doing correctly. I just want someone who have experience in space fighter programing that can tell a concept and how to do that. I now about OpenGL, it''s the concept that I don''t understand. Thanks

Share this post


Link to post
Share on other sites
Advertisement

  • 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!