I clamped rotation of my FPS character but it can still pas the max or min value then it snaps back

When I pull the mouse down character looks down and it should stop in some point so I made maximum and minimum values for the rotation with mathf.clamp but this time. When I look down it passes maximum value or minimum value then it comes back to max value and this keeps repeating itself until I stop moving my mose.

Welcome!

It looks like you're new here. Sign in or register to get started.

Replies

Welcome!

It looks like you're new here. Sign in or register to get started.