Before starting this procedure, create a curve to use for the path. It can be one that you import or create with one of the curve tools. See
Draw NURBS curves.
Note: If you draw a curve and want to join the two ends, creating a closed loop, select the curve, then switch to the
Modeling menu and select
.
Check out a quick motion path tutorial on the YouTube
Maya Learning Channel.
To create a motion path by attaching an object to a curve
- Select the object you want to animate on the path, and then Shift-select the curve.
Note: You can Shift-select multiple objects and attach them to the same path curve. Remember to select the path curve last.
- In the
Animation menu set, select
.
- In the
Attach to Motion Path Options window, do the following:
- In the
Attach to Motion Path Options window, click
Attach.
The object moves to a point on the curve as specified in the
Time range setting.
Two motion path position markers with numbers appear at each end of the curve. These markers indicate the start and end frames of the animation path.
- To view the animation of the object, click the
Play button in the Playback controls.
In the examples provided in this topic, the helicopter's orientation on the Motion Path is at a static angle, which makes it point the wrong way to land. To learn how to set keys on a Motion path object's orientation, see
Adjust the orientation of the path object.
Tip: If your object does not follow the motion path, it may be due to existing transforms on the parent of the object, such as the object shown in the illustrations. To force the object to follow the path, Open the
Outliner, and select the Parent object, or attach the parent of the object of the motion path instead of the object, and then move the parent’s pivot until the object (its child) is on the path.