Home Unity

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

Offline / Send Message
Pinned
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.

Replies

Sign In or Register to comment.