1
00:00:00,000 --> 00:00:00,000
Hello, guys.

2
00:00:01,000 --> 00:00:02,000
We can delete this one.

3
00:00:02,000 --> 00:00:03,000
We don't need it.

4
00:00:03,000 --> 00:00:07,000
So we have our player here, and I want to offer you a small challenge.

5
00:00:07,000 --> 00:00:13,000
You need to make this player fall and not only fall, I want to be sure he won't fall through the platform.

6
00:00:13,000 --> 00:00:15,000
He will stand on the platform.

7
00:00:15,000 --> 00:00:16,000
All right.

8
00:00:16,000 --> 00:00:17,000
Very simple task.

9
00:00:17,000 --> 00:00:18,000
You have a challenge.

10
00:00:18,000 --> 00:00:20,000
I'm going to count till two, and then you're going to do it.

11
00:00:21,000 --> 00:00:23,000
One, two.

12
00:00:24,000 --> 00:00:25,000
So how we do that?

13
00:00:25,000 --> 00:00:27,000
We give it a rigid body, Of course.

14
00:00:29,000 --> 00:00:30,000
Which is my day to day.

15
00:00:31,000 --> 00:00:36,000
And then we're going to add Capsule Collider to DX.

16
00:00:37,000 --> 00:00:43,000
Let's change the size of the x to one and size of the white to something like 2.5.

17
00:00:43,000 --> 00:00:48,000
Now our collider is a bit of the place.

18
00:00:48,000 --> 00:00:52,000
We need to go to the offset and set it to zero like that.

19
00:00:53,000 --> 00:00:54,000
I think it's still not.

20
00:00:54,000 --> 00:00:55,000
Okay.

21
00:00:55,000 --> 00:00:58,000
Let me move this son away.

22
00:00:59,000 --> 00:01:06,000
It should be a bit lower so we can change offset to -0.1.

23
00:01:07,000 --> 00:01:09,000
Yeah, this looks about right.

24
00:01:10,000 --> 00:01:12,000
We can make it even slimmer.

25
00:01:12,000 --> 00:01:15,000
But there are different animations like run and.

26
00:01:16,000 --> 00:01:19,000
Well, I think this size of the collider is fine.

27
00:01:19,000 --> 00:01:24,000
While we are here, let's change collision detection to continuous gravity scale mass.

28
00:01:24,000 --> 00:01:27,000
We can fix that when we will move the player.

29
00:01:27,000 --> 00:01:28,000
All right.

30
00:01:28,000 --> 00:01:29,000
That's it for this video.

31
00:01:29,000 --> 00:01:30,000
Thank you.

32
00:01:30,000 --> 00:01:31,000
See you in the next one.

