how to rotate an object on an axis in unity code example Example: unity rotate around axis transform.Rotate(axis, degrees);