Move to Transform

Perform a transformation maneuver, moving a prim to a target transformation given a speed and easing factor. Transformation, Rotation, and Scale from a 4x4 transformation matrix will be applied Note: The Prim must have xform:orient in transform stack in order to interpolate rotations

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Execute In (inputs:execIn)

execution

Signal to the graph that this node is ready to be executed.

None

Ease Exponent (inputs:exponent)

float

The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc).

2.0

Prim (inputs:prim)

target

The prim to be transformed.

None

Prim Path (inputs:primPath)

path

The source prim to be transformed, used when ‘Use Path’ is true

None

Speed (inputs:speed)

double

The peak speed of approach (Units / Second)

1.0

Stop (inputs:stop)

execution

Signal to the graph that this node is ready to stop the maneuver

None

Target Transform (inputs:target)

matrixd[4]

The desired local 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]]

Use Path (inputs:usePath)

bool

When true, the ‘Prim Path’ attribute is used, otherwise it will read the connection at the ‘Prim’ attribute

False

Outputs

Name

Type

Descripton

Default

Finished (outputs:finished)

execution

When the maneuver is completed, signal to the graph that execution can continue downstream.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.MoveToTransform

Version

2

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Move to Transform

Categories

sceneGraph

Generated Class Name

OgnMoveToTransformDatabase

Python Module

omni.graph.nodes