Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2つのノードがあり、そのうちの1つだけの回転を知っています。
ノード1の回転をノード2に適用したいのですが、1つの軸がゼロになっています(オイラーの用語で)。
どのように?
気にしないで、私はそれを理解しました。
例:x軸の場合:
double xRot = -(myQuat.ToEuler().x) Quat qDiff = Quat(sin(xRot / 2.0), 0, 0, cos(xRot / 2.0)).Normalize() Quat myQuatZeroX = myQuat * qDiff