Matrix Mixer

Mix two matrices.

Installation

To use this Node, you must enable omni.anim.shared.core in the Extension Manager.

Inputs

Name

Type

Description

Default

alpha

double

Alpha blend value between transform_a and transform_b

1.0

interpolate_scale

bool

Interpolate the scale of transform_b

True

interpolate_rotation

bool

Interpolate the rotation of transform_b

True

interpolate_translation

bool

Interpolate the translation of transform_b

True

transform_a

matrixd[4]

A transform matrix

[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]

transform_b

matrixd[4]

B transform matrix

[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]

Outputs

Name

Type

Description

Default

transform

matrixd[4]

Output transform matrix

[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]