Make Transformation Matrix Look At
Make a transformation matrix from eye and center world-space positions and an up vector. Forward vector is negative Z direction computed from (eye - center) and normalized. Up is positive Y direction. Right is the positive X direction.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Center (inputs:center) |
|
The position of the center or target-position in world-space |
[0, 0, 0] |
Eye (inputs:eye) |
|
The position of the eye, or from-position in world-space |
[1, 0, 0] |
Up (inputs:up) |
|
The direction of the up vector |
[0, 1, 0] |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Transform (outputs:transform) |
|
The calculated transformation matrix |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.MakeTransformLookAt |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Make Transformation Matrix Look At |
Categories |
math:operator |
Generated Class Name |
OgnMakeTransformLookAtDatabase |
Python Module |
omni.graph.nodes |