Get Look At Rotation#
Computes the rotation angles to align a forward direction vector to a direction vector formed by starting at ‘start’ and pointing at ‘target’. The forward vector is the ‘default’ orientation of the asset being rotated, usually +X or +Z
Installation#
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
start |
|
The position to look from |
|
target |
|
The position to look at |
|
forward |
|
The direction vector to be aligned with the look vector |
[0.0, 0.0, 1.0] |
up |
|
The direction considered to be ‘up’. If not specified scene-up will be used. |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
rotateXYZ |
|
The rotation vector [X, Y, Z] |
|
orientation |
|
The orientation quaternion equivalent to outputs:rotateXYZ |