I find my self it with a problem that i’ve been attempting to solve for a few hours now. I am trying to clamp a rotation range of what is essentially 340-360 degrees(or you could say 340-0 degrees) and 0-14 degrees. The problem is… Since the rotation clamp i am trying to implement has 0 at the center i’m not sure how to handle it because using: transform.localEulerAngles = Vector3(Mathf.Clamp(transform.localEulerAngles.x,0,340),0,0); is saying you can move 340 degrees from 0. What i need it to be is 340-360 and again from 0 - 14. If it were all above 0… say 20-60 this would be no problem.
Sorry if i’m babbling… i’m just perplexed.