Unit rotate like head

how do i make a unit look at the player’s mouse between certain angles like a human head

2 Likes

Rotate the unit to the angle between it and the player’s mouse, but clamped between the lower limit and upper limit using minimum value and maximum value functions?

1 Like

like this?

2 Likes