đ
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!
You can go back to the homepage right here: Homepage





