Rotate To Orientation

Perform a smooth rotation maneuver, rotating a prim to a desired orientation given a speed and easing factor

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

Execute In (execIn)

execution

The input execution

Stop (stop)

execution

Stops the maneuver

prim

target

The prim to be rotated

usePath

bool

When true, the ‘primPath’ attribute is used, otherwise it will read the connection at the ‘prim’ attribute

False

primPath

path

The source prim to be transformed, used when ‘usePath’ is true

Target Orientation (target)

vectord[3]

The desired orientation as euler angles (XYZ) in local space

speed

double

The peak speed of approach (Units / Second)

1.0

exponent

float

The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc).

2.0

Outputs

Name

Type

Description

Default

Finished (finished)

execution

The output execution, sent one the maneuver is completed