Xform Constraint

Constraint a transform to another transform.

Installation

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

Inputs

Name

Type

Description

Default

computeRelativeTransform

bool

Wether relative transform is computed or used.

False

relativeTransform

matrixd[4]

The relative transform from source transform to target transform.

[[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]]

targetTransform

matrixd[4]

The transform that source transform follows

[[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]]

sourceTransform

matrixd[4]

The transform that follows target transform. Used to compute relative transform.

[[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

output

matrixd[4]

The transform that follows the target transform.