Set Rotation

Sets the rotation of the given matrix4d value which represents a linear transformation. Does not modify the translation (row 3) of the matrix.

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

matrix

matrixd[4], matrixd[4][]

The matrix to be modified

fixedRotationAxis

token

The axis of the given rotation

Y

Rotation (rotationAngle)

double, double[]

The rotation in degrees that the matrix will apply about the given rotationAxis.

Outputs

Name

Type

Description

Default

matrix

matrixd[4], matrixd[4][]

The updated matrix