| On this page | |
| Since | 20.0 |
Computes a transformation that rotates vector a onto vector b about their perpendicular axis. The Matrix version of this node returns a rotation matrix while the Vector4 version returns a quaternion.
入力 ¶
a:
Vector3
A vector representing the starting direction before the rotation is applied. The vector does not need to be normalized.
b:
Vector3
A vector representing the end direction once the rotation has been applied. The vector does not need to be normalized.
出力 ¶
result:
Matrix3, Matrix4, Vector4
The rotation transformation as a rotation matrix or quaternion.