Go to: Related nodes. Attributes.
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 name | Parents | Classification | MFn type | Compatible function sets |
---|---|---|---|---|
lookAt | aimConstraint | drawdb/geometry/transform | kLookAt | kBase kNamedObject kDependencyNode kDagNode kTransform kConstraint kAimConstraint kLookAt |
orientConstraint, scaleConstraint, pointConstraint, poleVectorConstraint, geometryConstraint, tangentConstraint, normalConstraint, aimConstraint
displayConnector, distanceBetween, twist
Long name (short name) | Type | Default | Flags | ||
---|---|---|---|---|---|
distanceBetween
(db )
| double | 0.0 | ![]() ![]() ![]() ![]() | ||
twist
(tws )
| angle (double) | 0.0deg | ![]() ![]() ![]() ![]() ![]() | ||
displayConnector
(dc )
| bool | true | ![]() ![]() ![]() ![]() | ||