OmniGraph Node omni.graph.nodes.MoveToTarget¶
omni.graph.nodes.MoveToTarget Properties¶
Name |
Value |
---|---|
Version |
1 |
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 |
omni.graph.nodes.MoveToTarget Description¶
- 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
omni.graph.nodes.MoveToTarget Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:execIn |
execution |
None |
Y |
The input execution |
uiName |
Execute In |
|||
inputs:exponent |
float |
2.0 |
Y |
The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc). |
__default |
2.0 |
|||
inputs:sourcePrim |
bundle |
None |
Y |
The source prim to be transformed |
inputs:speed |
double |
1.0 |
Y |
The peak speed of approach (Units / Second) |
__default |
1.0 |
|||
inputs:stop |
execution |
None |
Y |
Stops the maneuver |
uiName |
Stop |
|||
inputs:targetPrim |
bundle |
None |
Y |
The destination prim. The target’s translation, rotation, and scale will be matched by the sourcePrim |
omni.graph.nodes.MoveToTarget Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:finished |
execution |
None |
Y |
The output execution, sent one the maneuver is completed |
uiName |
Finished |