unity [数学] 四元数和Vector3相乘的意义
参考:
https://answers.unity.com/questions/186252/multiply-quaternion-by-vector.html
总结:Quaternion * Vector3 表示在世界坐标系下,Vector3的任意旋转;
In the quaternion world, multiplication is the way to apply the rotation to something 【在Quaternion下,相乘表示应用旋转】
Quaternion.Inverse(quaternion) returns the inverse rotation
The vector will be rotated in the world space. The quaternion actually represents a single rotation of some angle around an arbitrary axis (not necessarily XYZ), but this axis is relative to the world. If a more complex rotation is specified - like Euler(15, 45, 60), for instance - Unity converts it to a single rotation: the equivalent axis and angle are calculated and encoded in the quaternion format.【世界坐标系的旋转,相当于: 四元数实际上表示围绕任意轴(不一定是XYZ)的某个角度的单个旋转】
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
2022-03-30 unity工具相关: 依次递增的概率如何计算期望