利用一个四元数让一个向量转动

Vector3 a = new Vector3 (0f,1f,0f);
Vector3 b = Quaternion.Euler (0f, 0f, 45f) * a;(顺时针转动)
Debug.Log (b.ToString());

原文地址:https://www.cnblogs.com/Akishimo/p/5028907.html