Get Prim Direction Vector
Given a prim, find its direction vectors (up vector, forward vector, right vector, etc.)
Installation
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
primPath |
|
The path of the input prim - this attribute is used when ‘usePath’ is true |
|
usePath |
|
When true, it will use the ‘primPath’ attribute as the path to the prim, otherwise it will read the connection at the ‘prim’ attribute |
True |
prim |
|
The connection to the input prim - this attribute is used when ‘usePath’ is false |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Up Vector (upVector) |
|
The up vector of the prim |
|
Down Vector (downVector) |
|
The down vector of the prim |
|
Forward Vector (forwardVector) |
|
The forward vector of the prim |
|
Backward Vector (backwardVector) |
|
The backward vector of the prim |
|
Right Vector (rightVector) |
|
The right vector of the prim |
|
Left Vector (leftVector) |
|
The left vector of the prim |