Camera Yaw/Pitch/Roll mode adjustments

Advanced game related topics
Henry00
User
User
Posts: 88
Joined: Thu Jul 12, 2012 7:00 pm
Location: Germany
Contact:

Camera Yaw/Pitch/Roll mode adjustments

Post by Henry00 »

Hi, I was wondering the help file states this for the CameraYaw, CameraPitch and CameraRoll procedures:
The mode to get the *****. It can be one of the following value:
#True : the roll is the raw value, but it can't be used in RotateCamera() to get back the same orientation (default).
#False: the roll is adjusted, so it can be put back in RotateCamera() to get back the same orientation.
What exactly is that adjustment, it would be good if the math could be stated in the help file and if that's not possible at least an explanation.
I have been attempting to use these values to rotate the camera like "#PB_Relative" would do (RotateCamera()) but get the strangest results.
I managed to fix the yaw/pitch/roll logic for in-game entities here: http://www.purebasic.fr/english/viewtop ... 36&t=55509
But my camera spins out of control and even moves by itself when using #PB_Absolute!

Any information is welcome, thanks!

[update]
Please follow the link above to get a more descriptive version of my problem.