Unity C# 初級編程| 4 . 旋轉(zhuǎn)(Rotation)



C# 使用Quaternion.LookRotation( ) 控制物體的旋轉(zhuǎn)

指定看向的物體

效果?

物體始終朝向設(shè)置物體

參考資料:
https://blog.csdn.net/csxiaoshui/article/details/65446125 ? ? ? ? ? ? ? ?旋轉(zhuǎn)變換(一)旋轉(zhuǎn)矩陣
https://blog.csdn.net/csxiaoshui/article/details/65437633 ? ? ? ? ? ? ? ?旋轉(zhuǎn)變換(二)歐拉角
https://blog.csdn.net/csxiaoshui/article/details/65445633 ? ? ? ? ? ? ? ?旋轉(zhuǎn)變換(三)四元數(shù)
標簽: