To change the motion path in After Effects, you'll need to manipulate the keyframes that define its shape. Here's how:
- Select the Layer: In the Timeline panel, select the layer containing the motion path you want to modify.
- Reveal Position Property: Press the 'P' key to reveal the Position property of the layer. This displays the keyframes that define the path.
- Move Current-Time Indicator: If you don't see the keyframe you want to adjust in the Composition panel, move the current-time indicator to that keyframe's location on the timeline.
- Use the Selection Tool: In the Composition panel (or Layer panel, if working within a pre-comp), use the Selection tool (V) to click and drag keyframes to new locations. This directly alters the motion path.
- Adjust Bezier Handles: When you select a keyframe, you'll often see Bézier handles extending from it. Drag these handles to adjust the shape of the path leading into and out of the keyframe. This allows for smooth curves and precise control.
- Convert Keyframes (Optional): You can convert keyframes between different types (Linear, Auto Bezier, Continuous Bezier, Bezier, Hold) by right-clicking on the keyframe in the Timeline panel, selecting "Keyframe Assistant", and then choosing the desired type. This dramatically alters how the object moves between keyframes. A 'Bezier' keyframe allows for independent control of both handles, providing maximum customization.
- Add Keyframes (Optional): To add more points of control to the motion path, move the current-time indicator to a point along the timeline where you want a new keyframe. Then, adjust the position of the layer in the Composition panel. A new keyframe will be automatically added.
Tips for Refining Motion Paths:
- Zoom In: Zoom into the Composition panel for more precise adjustments, especially when working with small movements or intricate curves.
- Rulers and Guides: Use rulers and guides (View > Show Rulers; View > Show Guides) to help align keyframes and create consistent paths.
- Graph Editor: The Graph Editor provides more advanced control over the timing and interpolation of the motion path. You can adjust the speed and ease of the movement between keyframes using the value graph or speed graph. To access the Graph Editor, click the Graph Editor button in the Timeline panel.
- Motion Sketch: The Motion Sketch panel (Window > Motion Sketch) lets you record a motion path by dragging the layer in the Composition panel in real-time. This can be useful for creating organic and unpredictable movements.
- Copy and Paste: You can copy and paste keyframes between layers or between different properties of the same layer. This can save time and ensure consistency.
By manipulating keyframes and their handles, you can precisely customize any motion path within After Effects.