Compose Quaternions from Two Axes (Right Hand Rule)

Function

Taking the input two vectors as the specified axes and using the right-hand rule, this Step generates a rotation vector in quaternions. If the two input axes are not perpendicular, after the third axis is generated by the right-hand rule, the axis from the second port will be reserved, and the rotation vector will be generated from the axis of the second port and the generated third axis using the right-hand rule again.

Usage Scenario

This Step is a general data conversion and formation Step. This Step has no fixed usage scenarios.

Input and Output

  • Input:

  1. 3D vector input to this port will be used as the starting axis for rotation.

  2. 3D vector input to this port will be used as the end axis of the rotation.

  • Output:

  1. Quaternions representing the rotation vector.