1. Rotation Matrix

1.1. Purpose

Define a rotation matrix for coordinate system transformations.

1.2. Description

The Rotation Matrix operation creates a 3x3 rotation matrix from Euler angles (z, y, x convention) that can be used for coordinate system transformations. The Euler angles can either be specified as constant values directly on the node, or provided as time-varying signals through an input connection.

This operation is typically used in conjunction with the Coordinate System Transform operation.

1.3. Input

When Input Rotations is disabled, this is a source node with no inputs. When enabled, the node has one input slot that requires exactly 3 signals representing the time-varying Euler angles (rx, ry, rz).

1.4. Output

9 signals representing the elements of the 3x3 rotation matrix: R11, R12, R13, R21, R22, R23, R31, R32, R33.

1.5. Parameters

  • Transpose: Transpose (invert) the rotation matrix.

  • Input Rotations: When enabled, the Euler angles are read from the input connection instead of the constant parameter values.

  • Rotation X: Rotation about the new x-axis (third rotation), in degrees.

  • Rotation Y: Rotation about the new y-axis (second rotation), in degrees.

  • Rotation Z: Rotation about the z-axis (first rotation), in degrees.