Create constraint
Purpose
To create a new constraint object and constrain the selected object to that new constraint object.
Overview
Create constraint translates or rotates the object that is being constrained to the position and/or orientation of the constraint. You can create any combination and number of point and orientation constraints on an object.
How To Use
- Select an object using Pick
Object, or pick an object dag node in the SBD window.
- Select Constraint
Create constraint from the Object Edit tool palette or click this icon.

The system prompts that are displayed depend on the Constraint Type you have set in the Add Constraint Options box.
The system prompts:
Pick a joint or node to constrain.
- Pick an object in the modeling or SBD window. You will see the object update with either a selection handle or a jack (or both) to use the new constraint.
Create Constraint Options
Select Constraint
Create constraint -
to display the Create Constraint Options box.

These are the types of constraints that can be added.
point constraint
Use to constrain an object to be located at the same position in space as the rotate pivot position of the object to which it is constrained.
orientation constraint
Use to constrain an object node to assume the same orientation as the object to which it is constrained. To define the orientation of an object, use Xform
Local
Set local axes.
The following are used to toggle the creation of jacks and selection handles.
create jack
- Use to create a jack primitive at the point of constraint.
create selection handle
- Use to create a selection handle at the point of constraint.
weight
Weights are useful if you have constrained an object to more than one other object. This way you can weight the different constraints, so that a constrained object will tend to meet one constraint more than another.
You can change the weight value either by clicking in the field, typing a value and pressing Enter, or dragging the slider bar. Weights are animatable.
If two constraints on a skeleton conflict with each other, the IK will find a compromising solution between the two constraints. If one constraint has a higher weight than another constraint, then the former constraint will have more influence in the IK solution.
Warning!
It is recommended you use weights between the values of 0.1 and 10. Although you can choose weight values of up to 100, the higher the weight value, the more unstable the IK algorithm will be. For example, a skeleton chain constrained to a single animated object with a weight of 1.0 will produce smooth animation, whereas a weight of 100 will cause some of the joints to jerk back and forth during the animation.
In general it is not useful to apply a constraint directly to a skeleton joint. For example, if a point constraint is applied to a joint, moving the constraint object would cause the bone to stretch. Normally, you should create IK handles (using Object
add ik handle) and then constrain the IK handle to an object. To make this easier, if Object Edit
Constraint
Create constraint is applied to a skeleton joint, an IK handle is automatically created, and a null node is added in the SBD.
Simple Orientation Example
- Create a cone using Objects
Primitives.

- Select Object Edit
Constraint
Create constraint-
and turn on orientation constraint and create selection handle. Click Go.
A selection handle is created on the new constraint.

Select Pick
Object Types
Selection handle and click the handle.
Select Xform
Local
Move selection handle.
Drag the handle away from the cone.

With the handle still picked (the cone will also stay active as it is under the influence of the constraint), select Xform
Rotate.
Click-drag the selection handle to change its orientation. As the handle rotates, the cone will follow suit.
Grouped IK Manipulation Example
- In the Front window, create a finger of a hand with Objects
Draw skeleton.

- With the finger picked, from the Edit menu select Duplicate Objects-
. In the option box, enter 1 in the Y Translation field and 3 as the Number of Duplicates. Click Go. You now have four fingers.
- Select Pick
Joint then select Xform
Local
Set pivot. Now you can reshape the fingers in the Top view to look more like a human hand b y picking individual joints and click-dragging. In the following example, a left hand (without a thumb) is created.

Select Windows
Information window and name each finger first, second, third, and fourth respectively.Pick the end-effector of the first finger (with Pick
Joint) and select Object Edit
Constraint
Create constraint-
. Make sure only the point constraint is on (orientation should be off) and that create jack is turned on.
Add constraints to the rest of the fingers using the same Create Constraint options in the previous step.

Select Pick
Nothing, then in the SBD window, with the Shift key pressed, pick the top nodes of the four constraints.
From the Edit menu, select Group-
. Click Beside, then click Go.

A new node is created at the origin.
In the SBD window, pick the new top node and name it hand.
With the hand node picked, select Xform
Move and click-drag with the left mouse button.
Now the hand opens and closes with a single motion, using constraints. See the following:

aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.