Home Search

DriveWorks Pro 21
Get LookAt Rotation

Send Feedback

Get LookAt Rotation

When the Get LookAt Rotation task is run it will calculate a Euler rotation value that faces a specified Target from a Nodes origin. The returned value could then be applied to the Nodes rotation so that it faces the Target.

Properties

Property NameDescription
Preview Control NameName of the 3D Preview control.
Origin Node AddressThe address of the origin node.
TargetThe target as either a node address, or a position as a pipe bar delimited string in the format X|Y|Z.
Use World Position Whether Target Position should be treated as being in local space or world space.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • The values were retrieved successfully

Success with Warnings

  • N/A - should never get fulfilled.

Failed (one of the following occurred)

  • General failure - Check the specification report for more details.
Please see 3D rotation and orientation for more information on Euler rotation in 3D.
Please see LookAt Entity for further information on how this entity can be applied.

For information on LookAt as a function, that you can build a rule with, see Vector LookAt .