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

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

相关文章
相关标签/搜索