Unity API Quaternion四元數和歐拉角的區別和使用

四元數和歐拉角的區別 cube.eulerAngles   是歐拉角spa cube.rotation          是四元數pwa 四元數有四個軸(w,x,y,z),方便進行計算code 歐拉角只有三個軸(x,y,z),方便進行調節orm //cube.rotation = new Vector3(90, 0, 0);//rotation是四元數,Vector3是歐拉角,二者不可相等 cub
相關文章
相關標籤/搜索