Move To Target
This node smoothly translates, rotates, and scales a prim object to a target prim object given a speed and easing factor. At the end of the maneuver, the source prim will have the translation, rotation, and scale of the target prim. 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) |
|
Signal to the graph that this node is ready to be executed. |
None |
Exponent (inputs:exponent) |
|
The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc). |
2.0 |
Source Prim (inputs:sourcePrim) |
|
The source prim to be transformed |
None |
Source Prim Path (inputs:sourcePrimPath) |
|
The source prim to be transformed, used when ‘useSourcePath’ is true |
None |
Speed (inputs:speed) |
|
The peak speed of approach (Units / Second) |
1.0 |
Stop (inputs:stop) |
|
Signal to the graph that this node is ready to stop the maneuver |
None |
Target Prim (inputs:targetPrim) |
|
The destination prim. The target’s translation, rotation, and scale will be matched by the sourcePrim |
None |
Target Prim Path (inputs:targetPrimPath) |
|
The destination prim. The target’s translation, rotation, and scale will be matched by the sourcePrim, used when ‘useTargetPath’ is true |
None |
Use Source Path (inputs:useSourcePath) |
|
When true, the ‘sourcePrimPath’ attribute is used, otherwise it will read the connection at the ‘sourcePrim’ attribute |
False |
Use Target Path (inputs:useTargetPath) |
|
When true, the ‘targetPrimPath’ attribute is used, otherwise it will read the connection at the ‘targetPrim’ attribute |
False |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Finished (outputs:finished) |
|
When the maneuver is completed, signal to the graph that execution can continue downstream. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.MoveToTarget |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Move To Target |
Categories |
sceneGraph |
Generated Class Name |
OgnMoveToTargetDatabase |
Python Module |
omni.graph.nodes |