Contact Support

ParentChildConstraint

Constrains the translate, rotate, and scale values of one object (the parent) to another (the child). See also OrientConstraint and PointConstraint.

Connection Type

Connection Name

Function

Input

input

The place in the node graph where you want to constrain the translation, rotation, and scale values of a parent object to those of the child.

 

Control (UI)

Default Value

Function

basePath

None

Defines the child object. The location parameter options are available by clicking the dropdown menu.

For more information, refer to the Scene Graph Location Widget Type in Common Parameter Widgets.

targetPath

None

Defines the parent object. The location parameter options are available by clicking the dropdown menu.

For more information, refer to the Scene Graph Location Widget Type in Common Parameter Widgets.

addToConstraintList

No

Adds base path to globals.constraintList at /root/world.

This is only needed for cases in which one constraint depends on another constraint already being evaluated. The globals.constraintList is used to specify the order of evaluation of constraints.

setRelativeTargets

No

Stores target paths in the scene graph constraint definition as paths relative to the base path.

Targets should still be specified as absolute paths in this node's parameters.