p5.EasyCam icon indicating copy to clipboard operation
p5.EasyCam copied to clipboard

Option to rotating camera around a global axis

Open BartaG512 opened this issue 4 years ago • 2 comments

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

BartaG512 avatar Apr 24 '20 14:04 BartaG512

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.

jwdunn1 avatar May 21 '20 11:05 jwdunn1