More Issues With FPS Movement

I’m using a slightly modified version of the FPS movement tutorial and I have a few more issues I need fixed.

  1. Camera goes tilted when looking diagonal
  2. Camera can rotate all the way around up or down

here is a link to the script: https://playcanvas.com/editor/code/749856?tabs=40394915
and here is one to the project: https://playcanvas.com/editor/scene/1060293

use euler clamping on both angles of the Y axis to make it not be able to go all the way down or up

1 Like

hey @Oofin can you give an example?