Game Development Reference
In-Depth Information
Aim Constraint Options
Here are some of the more important options for setting up an aim constraint:
Aim Vector dictates which axis will point toward the target object's pivot
point. The three boxes after it represent the X, Y, and Z axes. A value of 1 will
fully influence the aim in that direction; however, a 1 in all three axes at the
same time will give you a median position.
Up Vector is the axis you want to point upward. By default, it will try to align
itself with the World Up vector, which is Y.
World Up Type alters the way the World Up vector is used and has the follow-
ing options:
Scene Up will try to align itself with the current scene's Up axis.
Object Up causes the Up vector to try and aim at the origin of a specified object.
Object Rotation Up sets the World Up vector to use a specified object's rotations
as a guide.
Vector makes the Up vector try to align with the World Up vector.
None uses none of the above and instead bases its orientation on whatever it was
set to before you chose None.
8. Set the aim constraint's options as follows:
We know that X points down the bone. The first box next to Aim Vector represents
the X axis; set this to 1 so we are aiming fully in that direction. Make sure the
middle box (Y) and the last box (Z) are both set to 0 so these have no influence.
We also know that the Up Vector should be set to Y because the Y axis points up,
so set the middle box to 1 and leave its neighboring boxes at 0.
Leave the World Up Type set to Scene Up.
Check Maintain Offset to enable it, since the joints may move slightly. With this
setting turned on, they will stay in position.
9. Click the Apply button to apply your settings. Then set and Apply the same op-
tions for the right clavicle, except for the Up Vector's Y axis (the middle box); set
this to -1 because the Y axis on this joint points down.
10. To finish up the clavicle controls, parent them to the Upper_Spine icon. This will
keep them from drifting away from the body as it moves.
Search WWH ::




Custom Search