Archived

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

Space Orienting

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