Aim Constraint

Aim Constraint Node

Installation

To use this Node, you must enable omni.anim.aimConstraint 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]]

eyeTransform

matrixd[4]

The transformation matrix of eye object

[[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 transformation matrix of target object

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

maintainOffset

bool

Maintain offset

False

aimAxis

int

Aim Axis

0

upAxis

int

Up Axis

1

worldUpType

int

World Up Type

0

worldUpVector

float[]

World Up Vector

[0.0, 1.0, 0.0]

worldUpObject

bundle

The transformation matrix of world up object

Outputs

Name

Type

Description

Default

transform

matrixd[4]

Output transform