 |
|
| |
|
|
| |
zinAutoLegRig |
|
|
|
| |
Description:
This is a simple script to do auto leg IK setup with, hopefully, minimum input from user.
|
|
| |
Installation:
Simply copy the downloaded Mel script to
C:\Documents and Settings\User\My Documents\maya\2008\scripts\
source the script from Maya Script Editor and run it by typing zinAutoLegRig and hit enter key
Compatible to Maya 7.x .
|
|
| |
Usage:

1) Start off by hitting Make Left Leg Joints button. This will create a set of leg joints, a nurbs circle called L_legCTRL, and two locators bankLeftLoc and bankRightLoc. We will start with creating left Leg IK system first before moving on to the right leg IK.
2) L_legCTRL will be used as IK target as well as placing all custom leg control attributes. The bankLeftLoc and bankRightLoc locators are for calculating the pivot point for where the foot will bank. Please do not freeze the transformation on these locators.
3) You can freely move the joints to fit the your mesh objects. Please do not rotate the joints at this stage as you would want all rotation value at 0 as default pose value. Once you are happy with the placement of the joints, move the nurbs circle and locators as follow:

4) You might want to scale the L_legCTRL as shown above and moving its pivot point below L_ankleJoint so to allow heel rotation at the right place. You might want to freeze its transformation so that all transform value will be at 0 as the default value. The bankLeftLoc and bankRightLoc locators will help determine where the foot will bank. You might need to place the locators as close as possible to the side of the foot mesh so that the foot will bank at the right point.
5) Hit Apply Left Leg IK button and you will notice the IK system is applied. Select L_legCTRL nurbs circle and you shall see the custom attributes been setup. Play with the values to see if it behaves correctly.
6) Delete the locators now and start again with hitting the Make Right Leg Joints button, and you will get the same set of items. Repeat the same steps for right leg.
Tips:
It is important that you never change any name of the joints as the apply IK script required certain naming convention. Also, create left leg IK first before the right leg IK. Delete the bankLeftLoc and bankRightLoc locators after you are done with left leg IK as the Make Right Leg Joints button will create two new locators with the same names. |
|
|
 |