So I need to divide the Y of a quaternion by two. So for example, if the object’s Y angle is 360 it would be 180 and if it was -60 it would be -30.
I know that quaternions don’t use angles, so that’s my problem.
Thanks in advance!
etc.
Tried what you say, but
Quaternion.Euler(head.rotation.eulerAngles.x/2,head.rotation.eulerAngles.y,head.rotation.eulerAngles.z);
Gives the head a twitchy rotation.
Looks like an issue of dividing by an int instead of a float which would cast to an int, giving the twitchy rotation.
Maybe instead of “head.rotation.eulerAngles.x/2”, do “head.rotation.eulerAngles.x/2.0f”.