how to rotate a vector along a point in unity code example
Example: unity rotate vector around point
Vector3 rotated = Quaternion.AngleAxis(-45, Vector3.up) * vector;
Vector3 rotated = Quaternion.AngleAxis(-45, Vector3.up) * vector;