Maya 8.0 Tutorial
How to Create a Path Animation in Maya
Path animation is an easy way to animate an object along a pre-drawn path. The path is drawn using the Curve tool, then the object is attached to the path.
In the top view, add a CV Curve to the workspace (Create > CV Curve Tool).
Add a rectangular polygon shape to the workspace by choosing Create > Polygon Primitives > Cube. In the options, set the Divisions to 1 in all directions and set the Width to 2, Height to 0.5 and Depth to 10.
Select the rectangle and choose the Move tool. In the Move tool options, select Object Space. The arrows indicate each object axis.
For this model the rectangle will travel in the x direction (red arrow) and y is the up direction (green arrow).
Select both objects. Choose Animate > Motion Paths > Attach to Motion Path from the Animation menu set. Be sure to select the options.
By default, the animation will be for the duration of your current timeline setting. You can change the start and stop times in the time range section.
In this example, we will select the Time Slider checkbox.
The Front Axis is x and the Up Axis is y as determined in Step Three. You can also activate Banking and set the Scale and Limit.
Play the animation. If you wish to change any of the settings, click the path and open the Attribute Editor. Click the motionPath tab and your settings can be updated.
Setting Path Animation Duration
In Step Five we set the animation to run for the length of the time slider.
If you wanted the animation to start at frame 10 and end at frame 18, simply click the Start/End radio button and enter 10 and 18 in the Start Time and End Time input boxes.
Once you add your path animation, you may want to fine tune the bank settings. By clicking the path or object and opening the Attribute Editor, motionPath tab, you can adjust the bank setting by increasing the Scale value in the Motion Path Attributes, Bank section.