I am trying to modify the camera behavior when i drag on the screen.
Basically this is the same as my problem:
https://gamedev.stackexchange.com/questions/136174/im-rotating-an-object-on-two-axes-so-why-does-it-keep-twisting-around-the-thir?noredirect=1&lq=1
Now the default behavior that is the rotations are applied relative to the camera coordinate system.
I would like to apply yaw rotation around the global Y axis.
How this can be achieved?
Animation
I am trying to modify the camera behavior when i drag on the screen.
Basically this is the same as my problem:
https://gamedev.stackexchange.com/questions/136174/im-rotating-an-object-on-two-axes-so-why-does-it-keep-twisting-around-the-thir?noredirect=1&lq=1
Now the default behavior that is the rotations are applied relative to the camera coordinate system.
I would like to apply yaw rotation around the global Y axis.
How this can be achieved?
Animation