unity rotate around point
Code Example - unity rotate around point
transform.RotateAround(point, axis, degrees);
unity rotate vector around point
Vector3 rotated = Quaternion.AngleAxis(-45, Vector3.up) * vector;
unity rotate towards
Quaternion.RotateTowards(Quaternion from, Quaternion to, float maxDegreesDelta);
unity rotate around axis
transform.Rotate(axis, degrees);