p5.EasyCam
p5.EasyCam copied to clipboard
Option to rotating camera around a global axis
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
This type of global yaw rotation does not presently exist in EasyCam (or its predecessor) and would be considered a feature request. I'll leave this issue open if someone wishes to contribute this enhancement. For an existing solution, see SimpleCam.