Look At

 
Result of a LookAt layout node

The LookAt node allows to rotate a given bone on the affected Entities to look at a given target.

Add node


LookAt node in the Layout Graph Edition panel

Node parameters

Parameters are accessible by double-clicking on the node in the Layout Graph Edition panel:


LookAt node parameters

Name Name of the node
Active Whether the node is active or not
Target Position

Position of the target to look at

This parameter is keyframable, check the page explaining how to handle the keyframes in Maya

Target Position Noise Amount of noise around the target position value (each entity will randomly pick a value between targetPosition - 0.5*targetPositionNoise  and targetPosition + 0.5*targetPositionNoise  )
Target Relativ To Entity Whether the target is relative to the entity, or an absolute position
Bone Name The bone that should be rotated to look at the target
Weight

How much of the rotation that is needed to look at the target will really be applied.

You can use the parameter to spread the rotation on several joints by using several lookAt nodes with different weights (for instance, 0.5 weight on the neck and 1 weight on the head)

This parameter is keyframable, check the page explaining how to handle the keyframes in Maya

Weight Frames Noise Amount of noise on the frame values of the weight (when the weight is keyframed, each entity will randomly pick a value between  -0.5*weightFramesNoise and +0.5*weightFramesNoise and add this value to each key frame)
Alignment Axis

What (local) axis of the given bone needs to be aligned with the target.

This depends on the base joint orientation on your character.

If set to [0; 0; 0], the look at will try to automatically determine the alignement axis based on the skeleton's front axis.

Heading Lower Angular Limit The lower angular limit for the heading rotation
Heading Upper Angular Limit The upper angular limit for the heading rotation
Attitude Lower Angular Limit The lower angular limit for the attitude rotation
Attitude Upper Angular Limit The upper angular limit for the attitude rotation