Hi guys this is live with you.
And welcome to this new lecture and this lecture we are going to understand about parent.
I will explain to you how to use it what is good parenting and bad parenting if you like and how parent
will become extremely powerful when used when they're not in fact not always the parent.
So it's important to understand this very well don't make it like OK how I'm going to use this.
I will show you a lot of applications when we're doing the opposite.
For now let's focus on parent and create some children or make some children in this room.
Let's get away from the usual rectangle and Circle let's do something new this important image like
file and I'm going to get the card here you can take the car and drop it inside the composition open
scale and scale it to make it smaller.
Now we're going to animate this car.
Let's create a motion pass for the car.
We come to court press position keyframe in the beginning go to one second and move it then go to two
seconds.
Move it again go to three seconds and move it back.
OK that will do.
We can adjust our path but that's OK.
That will do.
So the car is going to come up from here and move along.
Of course we can make it rotates so as far as the path is point the path but that will be enough.
Now this is the car I'm going to draw a circle around the car.
I will come and use the ellipse to position my mouse in the middle.
Press F to select click use control and shift and open the circle fight and take the circle and pull
it under the car.
Let's call this one circle.
Now what I want to do is wherever the car is going on the circle to go.
Now of course I can come to position.
Copy the path from here and pasted inside the position of the serpent.
But then if I change the past everything is going to change.
The easiest way to do it is to patent the circle to the car.
How do I do that.
You don't see parent here.
Then right click and go through columns and say or take on pallet it will appear.
Usually parent always appears.
I remove it.
I don't like it here.
Taking the space I will use the pick here for parent and a pointer to the car and then release.
I have now the circle patented if she panted to the card I would have clicked here also and chose cut.
Now wherever the card is going to go the circle is going to go and that's pretty awesome because now
you notice the card is shining all over.
You notice how the anchor point of the circle is just in the middle or press control al-Thani.
And boom and bring the anchor point of the lead in the middle of the shape here.
So now whatever the cargo's the circle will go.
So actually the circle is printed to the card and it follows the position of the card that only three
transformations that you can parent the position the scale and the rotation.
No other transformation can be printed as far as I know and I'm sure of that.
But now we had our circle.
But that doesn't mean that this is the only animation we can do.
We can give animations to our circle.
Let's add some dashes to our circle if we come to dashers.
Plus plus and make them round top up with them to zero and increase a bit and increase the gap.
Now if we run the animation you notice that the circle is not moving at all.
What I will do I will come to circle press are and give it a rotation.
I will rotate it here.
In the beginning come to for wherever it goes here and give it let's say two rotations.
So not just now.
The dots are going to start moving with the.
So the circle is following the car and then the dots are rotating the circle is rotating and they are
rotating even if the curve stops.
So the child can have its own animations which the card is not involved in.
You know like it's like parent and child the child will go wherever the parent can go.
But also the child can run away and the parent has to follow him sometimes not always.
But let's take the circle here.
There's position here relative to the de-select and draw a circle just above here.
Also Press Control alt in that room to bring the anchor point of the air inside the circle.
So let's say this one we call it see one.
I'm gonna duplicate see one may get onto the fourth.
I will take C one or C for now put it here see three put it here.
And see to put it here.
In fact I would choose see one and see for all of them and I will take them to circle not car circus.
I want them to inherit all the animations of circle which is now a rotation but they are not connected
to the car.
It's circle that is presented to the car.
Now if you run your animation you're not is that the circles are moving.
You want to see for moving with the circle rotating and also moving with the main pattern which is the
car.
So now we have a grandparent circle is a child of God.
And you want to see for the children of circuits are like God now is the grandparent of the circle that's
funny.
Now parent is pretty powerful if you use it with knowledge.
Like I said you you'll see it in the next lecture.
It will give you a lot of power to create animation if you just blurt everything is going to be very
nice and emission and I start from here.
You notice you have a flying car.
Of course if you are using special effects here are visual effects we could make this one like a light
coming in.
And these guys also you know like rotating so you have a flying car somewhere.
But on top of a video you have something extraordinary.
What I would like to do is say when the car is here for example I want a rectangle to start moving with
the car.
I want to appear before but I wanted to move for example.
I'll put the rectangle here.
That's a nice rectangle.
And when the curve starts here I wanted to move when the car is not here.
It is before and I wanted to move.
So let's press control alt and whom to put the anchor point in the middle of the rectangle.
Good.
So the best way you think.
Like when it is here I can start printing if I do pan into the car now it will work very nicely until
I start from the beginning and is moving all the way with the car on the straight as they can the right
position but not really what I wanted.
So there is a small technique here that we can use.
It's very important.
Let's go to it and there is a split where we split this letter.
So now this lead has become a two layers.
They are both now printed to the car.
So this is the first layer and this is the second layer I will come to the first layer.
I will position the timeline indicator here OK and then remove the parenting.
Now not just what happened it's important where the parent and when you remove the parenting I play
call it picks it up.
It moves.
That's pretty cool.
This is the main thing about parenting when you parent it balance all the way through.
It will keep the position where it has patented or where it has unpatented but then it will parent from
the beginning to the end of the motion of the parent itself.
Fine.
So by splitting the layers here you create it actually two objects one is not patented and one is patented
that is very important and that is very useful mainly when you you're getting motion graphics inside
videos.
You don't want to start your motion graphics and patentee from the beginning of the video.
You want to make it less safe.
A blast a fire or something from a certain point in the video.
And you need parody.
This is about parenting.
Remember about the split.
From now on when we talk about parent I'm going to give you applications and this is all the explosion
that you can have out it is pretty easy.
But the applications are pretty I would say sometimes quite complicated.
See you in the next lecture.