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