This lecture guys I will introduce you to the null object.
How to apply it how to use it and mainly how to use it as a parent.
I'm going to keep everything very simple here for you to understand the concept is practically very
easy but going on in the course and editing your work you will notice that there is no substitute for
the null object.
When you're working with 3-D and certain effects.
If you want to follow along with me please open the project file not object dash start AP.
Let's explore it a bit.
What's the null object is all about.
We are going to focus on the composition one for now.
If you play a comp I have here four squares that are rotating on that and on and can point.
Now let's imagine I want to create a group animation for the four squares over here without losing the
animation for each square.
Well what comes to mind is parenting.
But actually I don't have a leg to parent to.
This is why a null object exists when you don't have any letter to parent to you will create a new object
to create an object.
Very simple you.
You go to new and you say an object and that object has been created for you in the cup.
Actually this object will become invisible when you render as long as you are previewing it will be
visible for you.
Otherwise you will lose it.
And in the timeline line here a layer has been created with the transformation of in normal layer in
the solids here a solid has been created that is called nulled 3.
So actually an object is a solid layer.
It's being created as a null object you don't have a switch here to switch any layer to it not so obviously
to work with a null object you need to use a parent.
For now I'm making it very simple and I knew that this is going to be more complicated and very nice
by the way.
So I select this for layers here and parent them to the null object you've seen this in the previous
lectures.
And by virtue of the parenting position skill rotation animations on the three will also be applied
on the other.
There's a simple animation that you can see here is the rotation for example fact electorate that I
would select everything to see the anchor points if I wrote that you notice that all four letters are
rotated according to the anchor point of the non-ladder.
OK.
This is very practical because later on the knowledge will be invisible.
So you're really creating without any visible parent.
So let's create a very simple animation here.
This is parenting you know with very well I'm sure because of the previous lectures.
So could that by now some students will ask why I didn't create a teacup.
Well I did not create a precompile to demonstrate to you the use of the null object.
OK.
So I would go to none too.
That too has more layers and I want to create a common animation for all these layers.
Of course you can compose but slowly slowly you will learn that an object is a bit more powerful than
recomposing just at the beginning.
So let's create a new object our right click go to new and then go to an object video or another NULL
has been created not just for every dollar you will get a solid layer.
Let's take all the layers.
Of course bind them to the null object and create a very simple animation.
I will open the transform of the not object here.
For example after half a second I will keyframe the position the scale and the rotation.
After some time I would like them to rotate.
OK so I them minus 90 and also I would like to get them down.
OK just like parenting.
I want to keep them here.
Out keyframe also the position I'm going to keep them here for half a second.
OK.
Duplicate all the keyframes.
Here you are then after one second I would like them to come just over here.
I'm going to move the position OK very far.
Then after one second or less as you wish.
Take them all out using the position here.
OK.
So actually I grouped these layers through a single animation using the parent and the Null-A the benefited
the Null-A is invisible and it's really under your control.
Fine.
Let's play the animation is simple.
They churn that comes out and they got.
Now what is more important here that using the non-Labor you can start breaking of course the parenting
which is now much higher controlled than a pre-camp.
For example let's take the rectangle here and come at a certain time.
When it comes over here.
OK let's open the keyframes And let's take the rectangle and of course you know now control shift d
d on the Mac to split the land so you can remove the parenting.
Here you are.
Now let's say you bring up the position of press B shift as full scale and shift our for rotation keyframe
all of them.
OK.
And then come after let's say one second here.
Let's go to the line and the line in the middle of the letter.
OK.
Bring back the rotation to zero and bring back the scale to 100 percent.
And here you are you'll have a very nice animation.
Quite simple.
So you learn a bit about the concept of the null object.
Later on we develop on this subject and with practice you will get to know when to compose and when
to use the null object is certain animations effects and 3D.
There is no way to compose you have to use the null object.
Thank you very much for listening.
I will see you in the next lectures.