真实文档? [英] Real Documentation?
问题描述
也许我错过了,但是现在它已经公开了,这个API有任何真正的文档可用。 我有点挣扎。 在线文档说联合跟踪包括在世界空间中与骨骼垂直的"正常",但是
在关节上没有"正常"属性。 同样是JointOrientations,它们是作为四元数,在世界空间中还是相对于父骨骼?
谢谢
Ray
我通过测试确认JointOrientations位于世界空间,并且是相对于世界空间(0,1,0)的旋转方向。
要计算相对旋转,请执行以下操作:
var relative = parentQuaternion.Inverse()* quaternion;
Hi,
Maybe I missed it, but is there any real documentation available for this API now it's gone public. I'm struggling a little. The online documentation says joint tracking includes a 'normal' perpendicular to the bone in world space, but there is no 'Normal' property on the joint. Also are the the JointOrientations, which are held as quaternions, in world space or relative to the parent bone?
Thanks
Ray
I confirmed through testing that the JointOrientations are in world space, and are rotations relative to the world space (0,1,0) up direction.
To calculate relative rotations, do something like this:
var relative = parentQuaternion.Inverse() * quaternion;
这篇关于真实文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!