Translate To Target#
This node smoothly translates 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 same translation as the target prim
Installation#
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Execute In (execIn) |
|
The input execution |
|
Stop (stop) |
|
Stops the maneuver |
|
sourcePrim |
|
The source prim to be transformed |
|
useSourcePath |
|
When true, the ‘sourcePrimPath’ attribute is used, otherwise it will read the connection at the ‘sourcePrim’ attribute |
False |
sourcePrimPath |
|
The source prim to be transformed, used when ‘useSourcePath’ is true |
|
targetPrim |
|
The destination prim. The target’s translation will be matched by the sourcePrim |
|
useTargetPath |
|
When true, the ‘targetPrimPath’ attribute is used, otherwise it will read the connection at the ‘targetPrim’ attribute |
False |
targetPrimPath |
|
The destination prim. The target’s translation will be matched by the sourcePrim, used when ‘useTargetPath’ is true |
|
speed |
|
The peak speed of approach (Units / Second) |
1.0 |
exponent |
|
The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc). |
2.0 |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Finished (finished) |
|
The output execution, sent one the maneuver is completed |