What's a quaternion rotation?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is quaternion rotation just a vector with X,Y,Z which the object will rotate towards, and a roll which turns the object on its axis? Is it that simple? Meaning if you have X=0, Z=0 and Y=1 the object will face upwards? And if you have Y=0, Z=0 and X=1 the object will face to the right? (assuming X right, Y up and Z depth) 回答1: A quaternion has 4 components, which can be related to an angle θ and an axis vector n . The rotation will make the object rotate about the axis n by an angle θ. For example, if we have an cube like ______ |\ 6 \ | \__