rotate the axis along with rotation in unity code example Example: unity rotate around axis transform.Rotate(axis, degrees);