Make prim look at target

Set prim rotation to look at the target coordinates

Installation

To use this Node, you must enable omni.replicator.core in the Extension Manager.

Inputs

Name

Type

Description

Default

prims

bundle

The prims whose orientation is to be changed

targetPrim

bundle

The target prim(s) that the prim should look at

targetPrimPath

token[]

The target prim path(s) that the prim should look at

useTargetPrimPath

bool

Use targetPrimPath

target

float[3]

The location of where the prim should look at

upAxis

float[3]

The up axis to set to the input prims.

useTargetPrim

bool

Use targetPrim

execIn

execution

exec

Outputs

Name

Type

Description

Default

execOut

execution

exec

values

double[3][]

Rotation to make prims look at the specified target(s)