Pivot Points - Animating in Alight Motion - YouTube

Channel: unknown

[2]
Hello! In this video we're going to learn about pivot points,
[7]
and what they do, how they work, and how they can be changed in Alight Motion.
[12]
We’ll apply what we learn about pivot points to create a social media Like icon,
[18]
as well as a Thumbs Up icon,
[20]
and we’ll see that both animation styles can be achieved by simply manipulating the position of the pivot point.
[27]
If you’d like to follow along, please download the sample projects in the description before continuing.
[34]
Let's get started!
[35]
What are pivot points?
[37]
Simply put, a layer’s pivot point is the point from where a shape or an object rotates or scales.
[45]
By default, the pivot point is in the center of the layer,
[49]
but we’re going to move it for this shape layer, so we can recreate the animation we saw in the intro.
[56]
Let’s tap the layer to select it, and then tap “Move and Transform.”
[61]
In this panel, we can edit the layer’s position, pivot point, rotation, scale, and skew.
[69]
Right now, if we go to the rotation property of the shape and apply some rotation,
[75]
you can see the shape is rotating from its center point, which is not what we want.
[81]
To edit the pivot point, simply tap on the position icon, and then tap on it again.
[87]
Tapping the position icon toggles between  layer position and pivot point editing panels.
[93]
To help you tell the difference between editing  position and pivot points,
[98]
we’ve placed text in the center of the controlpad.
[101]
While editing the layer position, you’ll see “Swipe here to move layer” on the controlpad.
[108]
We can confirm this by swiping around with our finger on the controlpad to move the shape in the preview.
[116]
Let’s undo this step, and then tap on position again.
[120]
Note that the text changes to “Swipe here to move pivot point”.
[125]
If you swipe on the controlpad now, you can see it is no longer moving the layer, but instead it’s moving the pivot point.
[133]
To match the intro, let’s shift the pivot  point to the bottom left corner of this shape.
[139]
Now, if we tap the rotation icon again, and apply some rotation,
[144]
you can see it is now rotating from the bottom left corner instead of the center.
[150]
Similarly, if we go to the scale panel, we can see the layer also scales from this same point.
[158]
Let’s undo to go back to the layer’s original size.
[162]
Now let’s get ready to start  animating by adding keyframes!
[171]
There are many types of keyframes.
[174]
In fact, every property, including position, rotation, scale, color,
[179]
and so on have their own keyframes that you can use to control them.
[185]
When you place a keyframe on a layer,
[188]
you’re telling Alight Motion that you want the selected property to have the value that you specify at the time of the keyframe.
[196]
Let’s add some keyframes to create our animation.
[199]
We’re going to make a scaling animation,
[202]
so let’s make sure that the scale property is selected.
[206]
Let’s first add a scale keyframe at the time we want to end our animation.
[212]
Then, let’s go to the beginning of the layer and reduce the size of the shape.
[217]
Like before, you can see it is scaling from the pivot point.
[222]
To make the motion more natural, let’s add this easing curve preset.
[228]
Easing curves change how the animation progresses over time.
[232]
You can learn more about them in our video on the topic.
[236]
At this point, if we play our animation, we can see the layer grow in size.
[243]
Let’s continue to improve our animation  by adding some rotation.
[247]
Tap on “Move and Transform“ then tap the rotation icon.
[252]
Place the playhead at the time seen on screen, and add a keyframe.
[257]
Now, go to the beginning of the layer and rotate it.
[262]
A second keyframe will be automatically created.
[265]
Press play once again how our animation is progressing!
[270]
Let’s finish this animation.
[272]
While the rotation panel is visible in Move and Transform,
[276]
tap Easing, and then tap the overflow menu.
[280]
Tap enable overshoot. This will allow our animation to shoot beyond the values set in the keyframes and then come back.
[290]
You can learn more about overshoot in our video on easing curves.
[294]
Let's add a little bit of overshoot to our curve. Try to make yours look like what you see on screen!
[302]
Now if we scrub through the timeline, we can see  the thumb goes up beyond zero and then comes down slowly.
[310]
If you play it, you can see that adding overshoot changes the feeling of the animation.
[316]
Let's take what we've learned and apply it to our other example.
[321]
In this case, we’ll move the pivot point to the bottom,
[324]
and then create some scale and rotation animation  with easing to create what you see on screen.
[332]
Like before, let’s tap on the layer, then Move and Transform,
[338]
and then tap on the position icon, even though it is already highlighted,
[343]
so we can edit the layer’s pivot point.
[346]
Let’s move the pivot point to the bottom of the shape, so that the layer rotates and scales from the bottom.
[353]
Let’s move the playhead to where we want to end the animation,
[358]
and tap on the scale icon and add a scale keyframe.
[362]
Now move the playhead back to the beginning of this layer and the scale down to almost zero,
[369]
and then add the easing curve preset you see on screen.
[374]
Let’s tap play to see our  scale animation in action.
[379]
Now let’s add the rotation.
[382]
Let’s move the playhead to the end of the animation again and add a rotation keyframe.
[388]
Now go back to the beginning and add some rotation.
[392]
If we add this easing curve preset, the layer will rock back and forth before settling at its final value.
[402]
If the animation is too aggressive, we can adjust  the easing curve to make it overshoot less.
[408]
With both of these animations, you can see how adjusting the layer’s pivot point created some interesting animation!
[416]
Try using this in your own projects,
[418]
and make sure to show us what you create by using the hashtag #AMPivotPoint.
[424]
If you have any questions, please make sure to ask in the comments!
[429]
We’ll do our best to help in any way we can!