unity turn vector into quaternion code example Example: how to convert vector3 to quaternion Quaternion rot = Quaternion.Euler(V3.x, V3.y, V3.z);