Unity 3D中欧拉角与四元数关系的研究  被引量:3

Study on the Relationship between Euler An-gle and Quaternion in Unity 3D

在线阅读下载全文

作  者:苏超凡 郭仁春[1] 

机构地区:[1]沈阳化工大学,辽宁沈阳

出  处:《计算机科学与应用》2019年第5期890-895,共6页Computer Science and Application

摘  要:在Unity 3D游戏引擎中,物体的方位是用四元数的形式来存储的,但界面上给用户呈现的却是欧拉角。用户设置的欧拉角会先转化为四元数,最终转化为新的欧拉角,而每一个欧拉角都可以用两个四元数来表示,这样就会使问题变得非常复杂。本文给出了欧拉角的两种约定和欧拉角与四元数的数学表达式,通过对欧拉角和四元数在Unity3D游戏引擎中的实例应用的分析研究,将两者之间的转换关系做出了详细的说明。In unity 3D game engine,the orientation of objects is stored in the form of quaternions,but the Euler angle is presented to the user on the interface.The user-set Euler angle is converted to quaternion first and finally to a new Euler angle,and each Euler angle can be expressed in two quaternions,which makes the problem very complicated.In this paper,two conventions of Euler angle and mathematical expressions of Euler angle and quaternion are given.By analyzing and studying the application of Euler angle and quaternion in unity 3D game engine,the transformation relationship between them is explained in detail.

关 键 词:UNITY 3D游戏引擎 欧拉角 四元数 

分 类 号:TP39[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象