how to make an object rotate to one value on one axis code example Example: how to just aet z rotation on transform unity transform.rotation = Quaternion.Euler(0, 90, 0);