Join Ian Robinson for an in-depth discussion in this video Adding and adjusting behaviors, part of Motion 3 Essential Training.
- View Offline
You have got a client that needs to see something before they tell you what they want, and you don't want to start anything until they have told you what they want. Well, with any ordinary Motion Graphic application this would be a nightmare, but with Motion once your client sees it with Behaviors they can change it until the clouds come home. We are working in the 01_AddingAdjustingBehaviors project. If it's not already open go ahead and get it open, and let's go ahead and select the baseball by hitting F5 and clicking on the layer in your Layers tab.
What you want to do in this project is actually have this ball fly-out of the park, and we are going to use Behaviors to do it. Let's browse our Behaviors by going to the Library and under Behaviors, I want to go to Basic Motion. Let's look at a couple of these. We have the Move. Move moves an object to or from a specific position in 3D. Well, that's a little specific for what I am trying to do now. I just want the ball to fly-out of the park, so let's look at Throw.
Throw applies a single force to push an object in a specified direction, much like what happens when you smack a baseball with a bat. Let's go ahead and apply that. Now I would like to apply it using an old-school Apple technique called Drag-and-Drop. So just click on the Behavior and drag it and drop it right onto the ball. And if your HUD isn't up hit F7 so you can see the Throw HUD and go ahead and hit the spacebar, so we can actually watch this playing and nothing happens.
So let me just Pause that by hitting the spacebar again and what you have to do is drag to set direction and speed of movement. So I want this ball to fly-out up into the right. So I am going to drag up into the right and check it out. That ball is flying. So let's hit the spacebar and see what happens. And it goes off the canvas. And so I don't want to do that and this Throw Behavior is actually a little sensitive. If I drag out towards the edge it's making the ball fly way, way away. So this Zoom option will actually make it more sensitive or less sensitive.
So as I drag this here now, even if I get to the edge, you notice with my playhead here, the ball has not gone off the screen. Now when I let this play again it's going to fly off the screen. So let me go ahead and drag that back down a second here and hit the spacebar again and we will preview this. So there you have it, a baseball that's flying up out of the park. Albeit it's not that fast, it's still flying. So now I'd like to add a spin to the ball. So let's go ahead and pause our playback one more time, and this time instead of dragging-and-dropping spin- because if the ball was actually moving it'd be kind of hard to track that down.
This is the perfect time to actually click the Apply button. So go and click Apply, and now the Spin Behavior is applied to the ball and go ahead and hit the spacebar and let this play. Select your Canvas and hit the spacebar and let it play, and if you click in here and drag around you'll notice absolutely nothing is happening. So let's say it ever happens to you with any behavior, I want you to click on the Eye button to open your Inspector and look at what's going on with that behavior. Right now what I was adjusting was the latitude and longitude and what I really want to adjust is the Spin Rate.
If I had a specific number in mind I could click in here and choose a number, but I am going use a technique that you'll see me use throughout this course and it's just click-and-drag. So if I click-and-drag notice what's happening and then I want to just spin the other way. So as I am doing that, you notice from the HUD what I needed to do is click on the edge HUD and now all of a sudden the ball is spinning. So I'd like it to spin faster, just click right on the edge and drag around and you will notice in the lower right corner here it's telling me exactly how fast that is spinning.
So to recap, in this movie, we have applied a few Behaviors and learned how to make most of the adjustments in the HUD. But if you need more, you can make all of your adjustments in the Inspector.
- Adding assets to the Library Working with layers and groups Applying single or multiple behaviors Manipulating keyframes Animating text Applying and adjusting filters Understanding different types of keying Using masks and shapes Generating a background or transition with generators Replicating an object or video file with replicators Understanding paint Using lights and cameras Retiming footage using behaviors and the Inspector Tracking motion with Match Move