Skip to content

lookAtControl Settings


Author: Asaf Ben-Zur

Best used for: Eyes, Generic Orientation based components

This module was written to function as an eye IK (look at setup), but can be used for many other generic components.

This module will create a slave control (at root position) which is aim-constraint to custom look-at guide.

The slave control will be the control authority for the joint, as the look-at control will control its orientation.



Attributes

GlobalSettings

Attribute NameDefaultDescription
slaveControlShape lightSphere Origin slave control shape
targetControlShape circle Main control shape
upLocalDirection 0 Main control shape
channelControl
T R S
X v v v
Y v v v
Z v v v

Main control channel-box settings

InterpolatedOrientation

Attribute NameDefaultDescription
doInterpOrient False This feature is used to create a weighten split orientation. When you need to create a weighted orientation for a control between two spaces, use this feature
spaceA The first space to be interpolated. This can be a guide, joint, or control.
spaceB The second space to be interpolated. This can be a guide, joint, or control.
spaceAWeight 0.5 The deafult weight for the first space. The second space weight will be the complimentary weight adding to 1
doAngleBasedScale False create an angle based scale driver, to scale the target slave joint when the angle changes between the two sources. Originally designed for double-chin setup
scaleWhenAngle 0 This setting controls the trigger mode for action. Icreases- means that the trigger for action will occur when the intorpolated angle increases, and do nothing when it decreases. decreases- means that the trigger for action will occur when the intorpolated angle decreases, and do nothing when it increases
maxScale 2.0 The actions maximum value clamp value
angleMaxRange 180.0 The maximum angle clamp that the action should be targeted to
connectToTargetAxis 1 This setting will set the target axis to act on. Please map the axis needed to be scaled based on the orientation of your guide

spring

Attribute NameDefaultDescription
doLookAtSpring False This feature will create a spring node blowe the look-at master. This will result in a rotation-based spring, mostly used for vehicle center suspension to achive secondary motion
defaultStiffness 0.5 Spring default stiffness value
defaultDamping 0.5 Spring default damping value

asEyeLook

Attribute NameDefaultDescription
pupilDilateAttribute Input bland-shape attribute to connect pupil dialation control to
pupilContractAttribute Input bland-shape attribute to connect pupil contaction control to
irisDilateAttribute Input bland-shape attribute to connect iris dialation control to
irisContractAttribute Input bland-shape attribute to connect iris contaction control to
combinedAttributeHost If this is set to True, a global attribute for the above pupil and iris controls will be created on the specified attribute host. This feature is mainly to combine two different eye shapes controls into one single control, or moving the location of this attribute to a diffent module in case the eye meshs are combined