heya guys,
ive got the head of my character looking at an object created on collision with raycast from the camera, so the head allways looks where the camera looks at, however naturaly i need to limit the heads rotation to -60 and +60 degrees but iam getting frustrated as i cant find a solution after 3 hours.
id simply like the characters head to go back to 0 Y rotation as soon as it would passes a certain point of rotation so i dont get the 360 spinning head effect.