Hi guys and welcome to this new lecture in expression there's an important lecture actually I'm going
to give you the concept of interpellation all the expressions that deal with interpellation we look
at a few of them and it's up to you later on to develop your skills and to you know create more animations
many times in animation what you want to do is to convert a linear movement a straight movement into
a circular movement or vice versa.
We also want to take a rotation movement or a circular movement or an Indian Movement and converted
into a single value and want to extract all the values in between.
Meaning if this circle goes left and right for example on its x axis I want this shape to move in a
circle movement from the left to the right so this why will be left or right.
And this one will be going on the x axis.
So how do we do that.
In fact there is a simple and easy to understand expression that we are going to use.
First of all let's go for keyframes I'll give him the position here.
And it is 250.
Another is the X is drawn 50 that's very good.
Let's remember this figure will come after one second and we make it 1700.
So that's the moment I have is a linear movement that goes from 250.
And the next one is 1700.
I want the shape to rotate minus 45 degrees when the circle is at the beginning.
So it would come on the side minus 45.
And when it comes to the end it goes a 45.
Now I don't want to do the framing because I might add seven eight of them make something nice or you
know just complicate things later on I want to use the minimum keyframes and I want to have expressions
that are very easy to be changed.
So how do I do that.
That's Vaizey Let's go to Bar.
Let's open rotation because it's going to rotate.
Now does that put the anchor point on top.
That's OK.
That's adjusted even more.
So is NOT about it is just over could net from rotation
from rotation.
I'm going to press on it and click.
I will open the expression.
I would click on the smaller row and he can see interpellation interpellation is linear and linear.
That gives you more parameters so actually you can use it was Jopling meters or you can use it with
four Palamedes as we go into this one.
And there is is is in and is out I will do only linear and is.
And then actually you can do it by yourself.
I will use the near you.
Now look at the values that you have.
We have t this is the value is going to be interpolated.
We have it T.M. on.
That's the minimum of the T and T maximum that's the maximum of the T and then it's return value 1 and
value 2.
So for this minimum we will get this value 1 for this maximum.
We'll get this value too.
And in between minimum and maximum aftereffect is going to give us the values and interpolate every
all the values for us.
So what is the D is the movement of cause of the present position of the ball.
So all I have to do is to pick up it and put it on the X right not on both but on the position itself
on X and it's giving you something very big that's ok.
Doesn't matter.
All we know this is position zero from the horizontal layer in this composition.
Now what is the maximum.
Remember we put 250 or this is the minimum salary.
And then what is the maximum.
Remember we said 1700.
I delayed the other actors for here.
I'm at about minus 45 or minus 45 for example.
And 45 degrees.
Of course we're looking at a rotation and year 45 degrees
your.
So what are you saying here.
We're saying take the value of horizontal to the 50 here the X. And when it is drawn did 50 make it
man minus 45.
When it is 1700 make it 45 as simple as this when it is between 250 and seventeen hundred find the value
that is between minus 45 and 45 in a linear interpolation and not logarithmic or pollution or any other
kind of interpellation outlook outside run our mission.
No not this year when it is on this side when it is on this side it is 250 minus 45.
I don't like this let's make it 45 year and minus 45.
Simple.
So that's about it.
So here 45 and here minus 45.
Now I don't want this just to go once I'm going to ping pong.
So I've done it and click and see loop out.
You know there's that loop out and that will be very useful as being pong.
Good bye.
Now let's play it.
And it's going left or right.
And this one is going left and right.
But in a circle moving I can change the values here.
Let's then make it 90 and here I'll make it minus 90.
Let's show you more.
And here you are.
It is working.
Now what is linear here.
I want you to go to choose the expression the rotation.
Go to the Gulf and in here we want to click on the graph.
Now I can see the graph of the expression.
Of course this is a value graph.
So this is what's happening.
The value of the rotation is going negative minus 90 then positive 90 and so on.
We know we haven't seen the graph here.
So that's pretty cool.
We have our interpellation and it's working very fine.
Now if I can to borrow one and duplicate it as is true.
But it here take this one and just move it somewhere over here.
Now both of them going in this direction.
And also I can do more I can you know rotate them from inside and make sure that we have them all connected
on this point I'm not going to do that now but you can play with it.
So this is it.
It's pretty nice pretty easy.
Now let's do something else.
We have seen that we have another one in interpellation called ease with for values of five Palamedes
here and change just one two is just as easy as it and the fact is that now when it's running it's going
to be a bit smoother.
What is the difference between one and the second one.
So this one is smooth.
Now what happened here.
Look at the graph pull the graph has become very smooth and it's like a busy graph here but the graph
we're back to if we open rotation and then it is totally different now I'm showing both of them in fact
you notice the difference there's rotation only.
And we need to open the expression for rotation.
So this one is a bit more.
Let's remove this one.
Let's not show it at all and it would show this one only.
So this one is rectangular or angled and this one is quite smooth.
This is a sine wave or is sync movement.
So this is how you use a linear and this is how we can use the glove.
So not just here when I click as a show Post expression graph.
So after the expression I now I removed it no I put it back here the same.
If I choose this one the rotation here I can see the difference between is and just linear.
So is is about.
So it is about making it easy is if you want it is the motion.
And then here is just a stick motion where the values go up and down.
Remember that it's pretty easy when you get used to reading the references and then everything else
just values.
So here we have from this camp this lead presenter used transform position zero and take it from the
present to.
Good.
So thanks very much for listening.
I hope I was clear.
If you have any questions come back and ask your questions.
I'll be very happy to answer them all.