🎉 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!

gluLookAt in 6 DOF

Started by
-1 comments, last by GameDev.net 24 years, 7 months ago
Hi,

I think I posted this to the wrong place earlier... this seems more relevant here.

I'm having a really painful time here... I'm making a 6 degrees of freedom shooter a la
Descent, and working out where to look at and in what direction to move depending on rotational orientation is just killing me. I'm not even sure anymore how rotational
orientation is to be stored... so far I'm just storing three angles (rotation around X, Y and Z) but I'm starting to wonder whether that's all that's needed. Assuming it is... I've managed to figure out that if it was a plain 3 DOF movement like in Doom, the four
directions of movement are simple sines or cosines of the angle of rotation. How do I
extend this to work with 6 degrees of freedom?? I'm stuck!!

This topic is closed to new replies.

Advertisement