Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,140 --> 00:00:01,370
As the next player ability.
2
00:00:01,370 --> 00:00:04,220
I want to implement the wall slide and wall jump.
3
00:00:04,280 --> 00:00:08,840
A problem we currently have, though, is that it's hard for us to test because we just pretty much
4
00:00:08,840 --> 00:00:14,240
just duplicated the floor and put another wall here, but I actually want to have a better way for us
5
00:00:14,240 --> 00:00:17,600
to build a small playground where we can test out new abilities.
6
00:00:17,810 --> 00:00:23,810
And with Unreal Engine 5.0, something new was introduced, which is the cube grid that is perfect for
7
00:00:23,810 --> 00:00:24,350
this.
8
00:00:24,350 --> 00:00:29,540
So first just select the wall, the floor number two and hit delete on the keyboard.
9
00:00:29,540 --> 00:00:35,300
Get rid of this and we're going to start to use Cube Grid to build a small level we can use for gray
10
00:00:35,300 --> 00:00:35,960
boxing.
11
00:00:35,960 --> 00:00:41,900
And gray boxing just means that we build the gameplay part of our level as a gray box without worrying
12
00:00:41,900 --> 00:00:42,920
about what it looks like.
13
00:00:42,920 --> 00:00:47,150
And once we made sure that everything works, we can start to actually put some time and make things
14
00:00:47,150 --> 00:00:47,900
look better.
15
00:00:48,140 --> 00:00:55,130
To open up the cube grid, we can just click here on the selection mode and go to modeling.
16
00:00:55,130 --> 00:00:56,780
And this is a little bit hard to find.
17
00:00:56,780 --> 00:00:59,420
You probably not think it is in this menu.
18
00:00:59,420 --> 00:01:04,220
And with Unreal Engine 5.0 we actually got a lot of crazy modeling features.
19
00:01:04,220 --> 00:01:07,400
Like a lot of things you would do in blender, you could also do in here now.
20
00:01:07,400 --> 00:01:10,370
And as part of that we also got the cube grid.
21
00:01:10,370 --> 00:01:12,710
And we're not going to worry about all of this other stuff.
22
00:01:12,710 --> 00:01:13,880
This is very complicated.
23
00:01:13,880 --> 00:01:16,010
This is something you're probably not going to need.
24
00:01:16,510 --> 00:01:20,140
But cube grid is something that is very easy to use and you can get a lot of benefit from.
25
00:01:20,140 --> 00:01:21,760
So just click here on Cube Grid.
26
00:01:22,300 --> 00:01:25,660
Right now it is a little bit hard to see because we have the floor here.
27
00:01:25,660 --> 00:01:30,340
But if you go to the side you can see that we have this kind of grid here on the side.
28
00:01:30,340 --> 00:01:35,170
And this basically allows us to create blocks in on top of this grid.
29
00:01:35,170 --> 00:01:37,390
Here on the left side, there's a lot of options.
30
00:01:37,390 --> 00:01:38,650
There's a lot of things you can do.
31
00:01:38,650 --> 00:01:42,340
But we're only going to cover the basics, the things that we actually need.
32
00:01:42,640 --> 00:01:45,700
So the first thing I want to do is to create some new blocks.
33
00:01:45,700 --> 00:01:49,660
So here's the player start I want to go to the left side of it and click this block.
34
00:01:49,660 --> 00:01:52,330
And you can see it selected with the orange color.
35
00:01:52,330 --> 00:01:52,810
Now.
36
00:01:52,810 --> 00:01:55,330
And I just want to create a few blocks upward.
37
00:01:55,330 --> 00:01:59,170
So to do this I can just pull and I can pull again and again.
38
00:01:59,170 --> 00:02:01,750
And it's going to create more blocks that go upward.
39
00:02:01,750 --> 00:02:05,140
And this is what I want to use to test the wall slide.
40
00:02:05,140 --> 00:02:10,090
And if you made a mistake and you put too many blocks, you can just push push it down to get rid of
41
00:02:10,090 --> 00:02:10,990
the blocks.
42
00:02:11,260 --> 00:02:14,800
If you want to have some gaps, you can slide back and then pull right.
43
00:02:14,800 --> 00:02:15,940
So now we have this gap here.
44
00:02:15,940 --> 00:02:20,230
If you want to test something, maybe like shooting through a gap or having an enemy that kind of goes
45
00:02:20,230 --> 00:02:22,780
through a gap, you can do that slide forward.
46
00:02:22,780 --> 00:02:23,530
You go down again.
47
00:02:23,530 --> 00:02:23,890
Right.
48
00:02:23,890 --> 00:02:26,440
And then we can also get rid of the ones here.
49
00:02:26,440 --> 00:02:30,190
And these are just the basic controls like this.
50
00:02:30,190 --> 00:02:33,010
And we're not going to talk about corner mode or flip.
51
00:02:33,010 --> 00:02:33,880
These are more advanced.
52
00:02:33,880 --> 00:02:36,220
These allow you to make ramps and things like that.
53
00:02:36,220 --> 00:02:40,600
And but more importantly these four buttons the pull push slide back slide forward.
54
00:02:40,600 --> 00:02:43,030
There's actually keyboard shortcuts for these.
55
00:02:43,030 --> 00:02:47,800
So if we go down here to the shortcut info you can see all of the keyboard shortcuts right.
56
00:02:47,800 --> 00:02:51,550
So while this is selected if I press E I'm going to extrude or pull.
57
00:02:51,550 --> 00:02:57,340
If I press Q I'm going to push down or get rid of the cube that I built to jump up or down.
58
00:02:57,340 --> 00:02:59,740
I can hold shift and e to create a gap.
59
00:02:59,740 --> 00:03:00,220
Right.
60
00:03:00,220 --> 00:03:04,960
And then I can just press E to build again or shift and Q to go down.
61
00:03:04,960 --> 00:03:10,150
And these are the very basic controls that we need to build things in our level.
62
00:03:10,150 --> 00:03:15,610
You could also click on the side, for example, and build out like this and have a gap like this.
63
00:03:15,610 --> 00:03:19,390
So all of these things are very easy to use and very useful.
64
00:03:19,390 --> 00:03:21,250
But we're going to keep it very simple, right?
65
00:03:21,250 --> 00:03:27,130
Like I said, I just want to make this a little bit bigger so we can test our wall slide and wall climbing.
66
00:03:27,310 --> 00:03:32,110
Then I want to leave a gap of two cubes here and click on this cube.
67
00:03:32,110 --> 00:03:36,100
And here I now want to leave a gap upward because I want to be able to walk in here.
68
00:03:36,100 --> 00:03:41,410
So hold shift and click E one, two, three, four times maybe.
69
00:03:41,800 --> 00:03:42,520
Yes.
70
00:03:42,520 --> 00:03:47,080
And then just keep on pressing E like this and build up to the same height.
71
00:03:47,080 --> 00:03:51,610
So now I want to be able to just walk to the left, jump to this wall and then jump to the other wall
72
00:03:51,610 --> 00:03:52,060
like this.
73
00:03:52,060 --> 00:03:54,970
But I think we actually need one more block here.
74
00:03:54,970 --> 00:03:57,130
So I can just click here and extrude.
75
00:03:57,130 --> 00:03:57,730
Right.
76
00:03:57,730 --> 00:04:02,230
So now the character should be able to walk in here and we can jump here, here, here, here.
77
00:04:02,230 --> 00:04:07,390
And I also want to just build a small staircase for the crab to put the crab on it.
78
00:04:07,950 --> 00:04:10,440
And just here we can multi-select.
79
00:04:10,440 --> 00:04:14,850
Just hold left click and select multiple ones and then press E to go up.
80
00:04:14,850 --> 00:04:16,860
And just create another step here.
81
00:04:16,860 --> 00:04:17,670
Just one more.
82
00:04:17,670 --> 00:04:18,060
Right.
83
00:04:18,060 --> 00:04:19,260
And this is just for the crab.
84
00:04:19,260 --> 00:04:22,530
So we can test the crab walking left and right and not falling down a ledge.
85
00:04:22,530 --> 00:04:24,060
But that is something for later.
86
00:04:24,060 --> 00:04:26,700
I just wanted to prepare this little staircase.
87
00:04:26,700 --> 00:04:27,990
And very important.
88
00:04:27,990 --> 00:04:30,750
Before we exit out here we want to click on accept.
89
00:04:30,750 --> 00:04:33,600
Otherwise, all of the changes we've made now are going to be lost.
90
00:04:33,600 --> 00:04:35,010
So click on accept.
91
00:04:35,250 --> 00:04:42,180
And now we just go back to selection mode and you can see this new cube grid tool output which we have
92
00:04:42,180 --> 00:04:42,690
here.
93
00:04:42,690 --> 00:04:43,320
Right.
94
00:04:43,320 --> 00:04:45,810
And you could just drag this around right.
95
00:04:45,900 --> 00:04:47,700
But just go back with Ctrl and Z.
96
00:04:47,700 --> 00:04:53,670
But this is basically a mesh a static mesh in the world that the cube grid editor created for us.
97
00:04:54,840 --> 00:04:56,160
And very important.
98
00:04:56,160 --> 00:05:01,350
If you want to go back into the cube grid editor and make some changes to this, you always want to
99
00:05:01,350 --> 00:05:04,200
make sure that this is selected first, right?
100
00:05:04,200 --> 00:05:08,250
Select this the Cube Grid Tools output and go back to modeling.
101
00:05:08,250 --> 00:05:10,710
Go back to Cube Grid.
102
00:05:10,710 --> 00:05:13,170
And now we can just pick up where we left off.
103
00:05:13,170 --> 00:05:13,380
Right.
104
00:05:13,380 --> 00:05:15,090
I can just add something here.
105
00:05:15,210 --> 00:05:16,920
Uh remove them some things.
106
00:05:16,920 --> 00:05:18,030
Remove some things.
107
00:05:18,030 --> 00:05:18,270
Right.
108
00:05:18,270 --> 00:05:18,990
This works fine.
109
00:05:18,990 --> 00:05:22,320
But if you don't click this first it's actually going to create a second static mesh.
110
00:05:22,320 --> 00:05:23,640
And another one and another one.
111
00:05:23,640 --> 00:05:26,520
And then you just end up with a lot of separated cube grids.
112
00:05:26,520 --> 00:05:31,380
So again just if you want to have these connected just make sure always select it first before you go
113
00:05:31,380 --> 00:05:33,210
back into the cube grid mode.
114
00:05:33,450 --> 00:05:36,180
And this is it pretty much for the cube grid.
115
00:05:36,680 --> 00:05:39,380
And you can play around with this more, build some more stuff.
116
00:05:39,380 --> 00:05:44,210
But this is what we needed for the wall slide and the small ledge as the last thing.
117
00:05:44,210 --> 00:05:50,780
We now just want to take the crab and we want to put it on top of the cube, this one here.
118
00:05:50,780 --> 00:05:53,360
And we also want to make sure that the crab is centered.
119
00:05:53,360 --> 00:05:53,570
Right.
120
00:05:53,570 --> 00:05:56,000
Because now we are exactly on this line here.
121
00:05:56,000 --> 00:05:58,910
We want to make sure the crab is kind of in the middle here.
122
00:05:58,910 --> 00:06:01,070
So we can just drag it here around.
123
00:06:01,070 --> 00:06:05,390
And I can see that, well it's -50 is going to be the middle.
124
00:06:05,390 --> 00:06:08,390
So just right -50 in here.
125
00:06:08,390 --> 00:06:12,110
And the player needs to be of course on the same lane as the crab.
126
00:06:12,110 --> 00:06:14,660
So the player also just -50.
127
00:06:14,660 --> 00:06:18,200
And now we're nicely in the middle of this cube.
128
00:06:18,200 --> 00:06:18,380
Right.
129
00:06:18,380 --> 00:06:19,640
You can see we're right in the middle.
130
00:06:19,640 --> 00:06:20,960
The crab is also in the middle.
131
00:06:20,960 --> 00:06:23,660
And now we can just like a collision is set up.
132
00:06:23,660 --> 00:06:25,070
Everything is set up right away.
133
00:06:25,070 --> 00:06:28,280
And we can test play jump heights and all these kind of things.
134
00:06:28,280 --> 00:06:32,090
And then later once we have the wall slide, we can start to like wall jump up here.
135
00:06:32,090 --> 00:06:33,770
And this is it for this lesson.
12265
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.