Flynnarite Posted May 31, 2014 Share Posted May 31, 2014 Hello everyone this is my first time on the forums and I'm a little weak when it comes to trigonometry and geometry. I'm trying to simply move the camera "forward" depending on the direction the camera is facing. Regardless of the solution requiring a library, I'd really like to learn the math behind it. Could anyone give me any help? Thank you for your answers. Quote Link to comment Share on other sites More sharing options...
TheRealCutterSlade Posted July 3, 2014 Share Posted July 3, 2014 The basic idea is to move the cam in a direction that is expressed by a 'vector'. So you have to figure out in which direction the cam is facing, than add this vector to the camera's position each frame. Hope this helps somehow... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.