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)

vectord[3]

The position of the center or target-position in world-space

[0, 0, 0]

Eye (inputs:eye)

vectord[3]

The position of the eye, or from-position in world-space

[1, 0, 0]

Up (inputs:up)

vectord[3]

The direction of the up vector

[0, 1, 0]

Outputs

Name

Type

Descripton

Default

Transform (outputs:transform)

matrixd[4]

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