![](smile.gif)
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Flying Camera
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
![](smile.gif)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement