Jump to content
  • Advertisement


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


Flying Camera

This topic is 6768 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 have another question! (Don''t we all?) I''m Trying to set up a "Flight Sim" camera in my little project. I now hav it moving fine along the XZ plane thanks to NeHe''s Great tutorials (I used Tutorial 10 to get the Formula I have now.) My current code looks something like this: TranslateX += (float)sin(RotationY*0.0174532925f); TranslateZ += (float)cos(RotationY*0.0174532925f); yes, I know it''s almost exactly like Nehe''s stuff but... that''s not the point. What I whant to know is can you do the same thing with X and Z rotation at the same time? If I didn''t word that too clearly please say so. Any help will be appreciated!!! Blue*Omega

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!