Moving in to the direction of the camera in 3D
Hi,
so after you told me to inplement quaternions i did so. Now I am at the same problem where to move in 3D?
I got my Quaternion representing the camera direction. So know how can I extract the info from the Quaternion in which direction i should "move" if the player set the throttle of my spaceship.
so the rotation is okay now there is no gimbal lock anymore. I think of something like taking the verctor i am looking to and ad it to my position vector scaled by a factor that i have to balance out. but which values reperent the camera-Vector? and is this vector looking the same way the camera does?
please help I am stuck with this move-thing to long now :-(
thank you
3D-Game Gurus
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement