Go to: Related nodes. Attributes.

The look at dependency graph node.

This node has all the functionality of the aim constraint node, but additional behavior to implement the 2 and 3 node camera. The camera view tools and manipulators are capable of disabling this node during the mouse press and drag. Upon mouse release the target and the up nodes will then re-positioned to reflect the camera's new orientation.

The twist can be used rotate the camera around the viewing direction when the worldUpType has been set to kUpScene or kUpVector. These up settings define the 2 node camera. This attribute has no effect otherwise.

The distanceBetween is typically connected to the camera center of interest, and is a measure of the distance from the camera eye point to the target.

The displayConnector attribute can be used to toggle the display of the connection lines between the up, eye, and target nodes.

Node nameParentsClassificationMFn typeCompatible function sets
lookAtaimConstraintdrawdb/geometry/transformkLookAtkBase
kNamedObject
kDependencyNode
kDagNode
kTransform
kConstraint
kAimConstraint
kLookAt

Related nodes

orientConstraint, scaleConstraint, pointConstraint, poleVectorConstraint, geometryConstraint, tangentConstraint, normalConstraint, aimConstraint

Attributes (3)

displayConnector, distanceBetween, twist

Long name (short name)TypeDefaultFlags
distanceBetween (db) double0.0outputinputconnectablestorable
Output distance between object and target (object space).
twist (tws) angle (double)0.0degoutputinputconnectablestorablekeyable
Angle to rotate up around aim vector.
displayConnector (dc) booltrueoutputinputconnectablestorable
Toggle the display of eye and up connector lines