I have a system which camera kinda tilt with the mouse movement a bit
Sorry for the bad quality, my graphic card is 4 dollar literally
It function normally but when right clicking it move suddenly move while the mouse still at the same position
Kinda strange because if my mouse moved when I click, It still shouldn’t move that far
This is the code:
Roughly I translated to:
The one in the above is a more slightly optimized version of this cleaner one…
What I’m trying to solve is the sudden movement of the camera when right clicking with the mouse, I don’t know why but right clicking seem to have an impact on mouse position
Thank yall