kingBook

导航

2023年2月14日 #

unity 四元数旋转各元素值的计算方法

摘要: // 旋转轴 Vector3 axis = Vector3.up; // 旋转弧度 float rad = 50f * Mathf.Deg2Rad; Quaternion quaternion = new Quaternion(); quaternion.x = Mathf.Sin(rad / 2f 阅读全文

posted @ 2023-02-14 22:50 kingBook 阅读(38) 评论(0) 推荐(0) 编辑