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
// Tojiart
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement