Set Rotation Quaternion

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

Quaternion (quaternion)

quatd[4], quatd[4][]

The quaternion the matrix will apply about the given rotationAxis.

Outputs

Name

Type

Description

Default

matrix

matrixd[4], matrixd[4][]

The updated matrix