Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
So I know it seems like every time I start teaching you something I'm saying this is one of my favorite features in Motion. But honestly combining keyframes and behaviors is one of my favorite things to do in Motion. So, press the Play button so we can check out our project. This looks okay, but honestly if we add some behaviors in here we can really sort of tweak out this animation. Press F5 and F6 to open up the Project pane and the Timing pane. Make sure your Keyframe Editor is open and under the Show pulldown menu make sure Animated is selected.
So, for this lesson, let's just focus on animating XYZ, turn off the visibility of all the other layers and move your playhead to the beginning of the timeline. Let's click Play and you notice this is kind of a rigid animation. What I would like to see happen is have XYZ sort of wiggle once it gets to its final resting point. So, move your playhead right to the second keyframe here in the timeline about frame 12 and let's add a parameter behavior to the Rotation. With XYZ selected, open the Inspector and twirl down the Rotation disclosure triangle.
Since the keyframe is set to the X parameter, Ctrl-click on X and let's choose Oscillate. And you notice Oscillate actually does come up in the Keyframe Editor. I'll bring this up because this is a really nice way of being able to tweak your behaviors, you can actually see directly what's happening in the Keyframe Editor. Since I don't want this to start shaking until the second keyframe, let's go ahead and trim the Oscillate behavior by pressing I on our keyboard. Now, you will notice the oscillation doesn't start until the second keyframe.
Okay, move your playhead to the beginning and let's see what's happening. All right, yeah, it is oscillating, but I think it's oscillating a little too much and way too long. So let's go ahead and stop playback and make sure your playhead is back at the beginning and since we only want to deal with this one little section of the timeline, let's reset our play range. Drag your playhead to about frame 40 or 41 and press Option+Command+O.
This has now reset our play range, so when we press the play button, it will just automatically loop back to the beginning so we can sort of focus on this one specific area. Let's look at the Oscillate behavior. Right now its Amplitude is set to 100 so it is literally rotating 100 degrees. I only want it to rotate maybe 15 at most. Now, its speed is really slow. You notice the curve is moving really, really slowly. I know if I drag this slider, I'm going to hit the edge of this and it's still not going to be quite fast enough. So, go ahead and click-and-drag in the value slider to around 300.
Now, we have a nice tight sine curve that's happening. So, let's see how this is affecting our behavior. Click the Play from start button. That's exactly what I'm looking for. Now, I'm going to move my playhead to right when the sign curve crosses back with the keyframe value. So, now that we have our playhead in the right position, go ahead and select the Oscillate behavior and press O on your keyboard to trim the out point of this behavior. This way the oscillate is only going to happening in this one specific section. We see that in the mini timeline and it is also reflected down here in the Keyframe Editor.
So, if we click Play from start, we have a nice little animation caused by combining our keyframes and our behaviors.
Get unlimited access to all courses for just $25/month.Become a member
110 Video lessons · 50970 Viewers
86 Video lessons · 14134 Viewers
79 Video lessons · 15122 Viewers
350 Video lessons · 101353 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.