美文网首页
四元数 欧拉角

四元数 欧拉角

作者: 百思不得Ting姐 | 来源:发表于2019-07-09 14:24 被阅读0次

    关于四元数和欧拉角的一段引用

    原文链接

    That rotation though is still a quaternion, you can then convert it to whatever you want.
    Just remember, quaternion exist for a reason... things like euler angles jump around or get locked (gimbal lock) because of the way they're designed. Quaternions don't suffer from these problems, if you want to save things like "change in angles"... save them as a quaternion, and do your math that way.
    A quaternion is more like a "how much rotation to apply, or was applied". A eulerAngle is more a "at what rotation am I relative to no rotation". The quat is more robust because "how much rotation to apply" can be relative to any other rotation (including no rotation). It's stackable. Euler angles are ALWAYS relative to the same thing (no rotation)... making them not stack well (this is a simplification of course).

    相关文章

      网友评论

          本文标题:四元数 欧拉角

          本文链接:https://www.haomeiwen.com/subject/xwexkctx.html