Rotate To Orientation
Perform a smooth rotation maneuver, rotating a prim to a desired orientation given a speed and easing factor
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 |
Prim (inputs:prim) |
|
The prim to be rotated |
None |
Prim Path (inputs:primPath) |
|
The source prim to be transformed, used when ‘usePath’ 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 Orientation (inputs:target) |
|
The desired orientation as euler angles (XYZ) in local space |
[0.0, 0.0, 0.0] |
Use Path (inputs:usePath) |
|
When true, the ‘primPath’ attribute is used, otherwise it will read the connection at the ‘prim’ 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.RotateToOrientation |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Rotate To Orientation |
Categories |
sceneGraph |
Generated Class Name |
OgnRotateToOrientationDatabase |
Python Module |
omni.graph.nodes |