Operating System:
Render System:
I am making a helicopter game that pitches / rolls / yaws by adding torque. The problem I have is that when I yaw over 90 degrees the getRoll() value jumps from 0 degrees to -180 degrees. I am using a PID controller to control the pitch and roll of the helicopter and the jump in roll throws off the control system causing the helicopter to crash.
Does anyone know anyway to fix this? Any help would be appreciated.
Code: Select all
Ogre.log (optional)