6DOF Camera problem with roll
by Jean-Daniel Nahmias · in Torque Game Engine · 09/22/2003 (6:36 pm) · 2 replies
Hi, i am having problems getting the camera to roll. I have looked at the script and there is $mvRoll global. I created a roll function similar to pitch and yaw that updates the global $mvRoll. I have bound an input to the roll function in the appropriate config script but yet it has no effect. To test i echo the mvRoll variable and it does show different values when tested triggering the bound input. HAving looked at some of the camera code i notice that rotations are performed on the y and x axis so my question is does torque support a 6dof camera or have i missed something stupid. Thanks for any help
Kind regards to you all
Kind regards to you all
#2
Thank you,
Leroy
06/02/2006 (7:33 pm)
This has become extremely important in my project at this point. I would love any pointers on how this can be done..Thank you,
Leroy
Associate Kyle Carter
It is fairly straightforward to replace it with a quaternion based implementation, though. :)