I think that the more rolled toward 90 degrees on side you are the more yaw
will need to adjusted versus pitch since to the game each axis of the angle
is independent of each other.

Chris

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Grash
Sent: Friday, February 27, 2009 1:58 PM
To: Discussion of Half-Life Programming
Subject: [hlcoders] Flight controls problem


One of my students is writing this email out about a problem they are
having. Any help would be greatly appreciated. 

"We are looking to replace the player with an aircraft model. We changed the
mouse controls to affect the pitch and roll, rather then the pitch and yaw.
the mousex is affecting the roll and the mousey is affecting the pitch(which
hasn't changed) for some reason when we roll the player lets say 90 degrees
on its side. when we change the pitch, the player model is not pivoting
right. the pitch will still have the player look to the sky rather then
rotating sidewards. The 90 degree change on the roll should be affecting the
pitch, but it is not. This is an example of the code we are using.


QAngle angle = GetAbsAngle();

angle.z+=1;

SetAbsAngle(angle);
"



      
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to