Hello, boys and girls this year are going to be very short.
We're going to talk about physics material that we're going to use for two D objects.
So at the moment, if you take a platform and make it as a wall, let's say something like that.
And if you face this platform on the level, you will not slide down this wall.
Right.
Let me find it for a second.
If I jump, you can see I am stuck.
And to fix that, we just need to create a material.
How we can do that.
Let's go to the asset folder and create folder named material.
I'm not sure we're going to have lots of them, but let's have a folder for that.
I'm going to hit play, create two 2D physics material, and I'm going to call it something like Zero
Friction.
All right.
Here we have friction and balance this.
So basically, if you need friction on the object, you can increase it.
If you don't need it, you can lower it.
And we need the zero.
If you want to make it bounce, make it bounce, but we don't need it to be bounced.
But if you make something that's supposed to bounce like a basketball, you can use this material with
the bounce in this.
Now let's take the player, find the capsule collider, and just drag it over here.
If we go to play mode, you can see a player is sleepy and he's not sticking to the walls.