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.
|Preview Control Name||Name of the 3D Preview control.|
|Origin Node Address||The address of the origin node.|
|Target||The 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.|
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.
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 with Warnings
Failed (one of the following occurred)
For information on LookAt as a function, that you can build a rule with, see Vector LookAt .