| On this page | |
| Since | 20.0 |
Produces a smooth rotation by finding the closest Euler angles to a reference rotation. The resultant Euler angles produce the same orientation as the input Euler angles, but their rotation angles are as close as possible to the reference’s rotation angles.
入力 ¶
a:
Vector3
The input rotation given as Euler angles, in degrees. The rotation order is determined by rord. Both a and b must share the same rotation order.
b:
Vector3
The reference rotation given as Euler angles, in degrees. The rotation order is determined by rord. Both a and b must share the same rotation order.
rord:
Int
The rotation order to apply the Euler angles. The default value is XYZ.
ポート値 |
回転順 |
|---|---|
0 |
XYZ |
1 |
XZY |
2 |
YXZ |
3 |
YZX |
4 |
ZXY |
5 |
ZYX |
出力 ¶
dot:
Vector3
The closest Euler angles, in degrees, to the reference orientation.