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)的某个角度的单个旋转】

posted @   sun_dust_shadow  阅读(196)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
历史上的今天:
2022-03-30 unity工具相关: 依次递增的概率如何计算期望
点击右上角即可分享
微信分享提示