 When we start adding some interactivity to this game, one of the things that we're going to want to be able to do is open a door so that our robot can kind of escape this room and we can't do that until we have a door. So that's what this step is going to cover. So let's have a look at importing that mesh them. So we're going to right click and import to game meshes and there are a couple of meshes we need to import for the step. We're going to have doorframe and then I'm going to hold control and click on trim wall and we're going to use that to fill any gaps that we can't otherwise fill. So click on open. Now this one we've got to be careful about so the doorframe here we have to change some settings because of the way that collisions work. So this time we're not going to have it generate missing collisions on this one because I've created a collision mesh for this one and because we've got a hole in the middle if we had a collision that went around the whole thing we get stuck on the door and there's a very specific collision that we need for this and that means we've got to change another setting as well and it's this one here one convex hole per ucx needs to be turned off for this only this one mesh and that's because it's actually made up of four collision meshes two on the sides and two on the top and that's just how collisions with holes have to work in real engine. So we need to change those two settings everything else can stay the same but those two need to be changed so we'll click on import and that'll import the doorframe and I didn't click on import all there just import because now for the trim wall we need to turn generate missing collisions back on and also we're going to have one convex hole back on as well so it was just for the doorframe we need to change those settings and then we'll click on import again so we've now got our two meshes so we're going to open the door first of all we're going to put the nickel material on it there we go oh that was nice and I'm just going to show you the collision mesh so if we go to show and simple collision we've got a cube that goes down here a cube that goes down here one across the top and one across the top and that's four separate shapes and they had to stay that way for this to work so we can just turn that off and save so that's the doorframe done and then the trim wall has two materials so let's go to highlight so that's the main material I don't know what that is actually let's go for the other one so that's the one that's in between yeah okay so this top one is going to be the nickel material very very nice and then the gap in between is there's this one called hex and there's two of them so there's m hex tile which is this guy which looks cattle I've got lost which looks very cool and very sci-fi there you go and if you want to go even more sci-fi than that there's hex tile pulse which is the same material but has like a pulsing light behind them which is the one I'm going to use because it looks sick so let's click on save there we can close both of those and we'll have a look at putting this doorway in so I'm going to put the door in first and you'll see that because of the way that the pivot is set which is at the middle it's kind of getting stuck beneath the floor which is not what I wanted and I'm going to show you a little trick here so I'm going to raise it up above the floor and once I've done that I'm just going to set my in fact yeah I'll set it back to 50 for now and then what I want to do is get this lined up with the floor now because of the way this is built it won't work look because we're on 50 snaps and it goes below so what I can do instead is if you put something above the ground and then press the end key on your keyboard it will then just go down until it hits something and get it lined up so that's really cool so now the doors lined up with the ground so then I'm going to rotate this around and then put it roughly in place like this so I don't need it to be super perfect yet I'll fine-tune it in a minute it just needs to be close okay we're going to get a gap here a gap here and also a gap over the top of this door we'll sort the top one out first I'm going to do it by getting another one of these and we're just going to make it smaller so I'm going to hold alt and put my rotate tool on and create the copy of it and then going to move it into place which is there I do believe oh I'm going too far there it is and then I'm going to scale it down one two two point five and I'm going to move it over here so doesn't matter that I'll leave a gap there because there's actually another mesh hang on I'm behind it no yeah I'm not so there's another mesh that's going to cover that up later so I don't need to worry too much about that but I do need to worry about this kind of top area and you see that it does line up with the height there so that's good and then we've got a gap here that we need to fill I've not got a mesh yet that will do that so that's where we're going to use that trim piece which is this guy here here he is drag him out of the floor rotate him around this way and then I'm going to rotate him this way and now I'm going to cheat a little bit because I've done this before I know a change that I need to make to this particular asset and that's the width of it on this axis here needs to be 1.25 so 1.25 otherwise everything doesn't line up properly so I can then move this to be in line with the other stuff and it's not going to fit perfectly yet until we put the snaps down to 10 and I'm just going to move it forward here it's going to be in line there you see that doesn't fit so chains are snapping to 10 oh that's five maybe five actually we'll leave it on five that's good so you can see that's there now I'm now going to create a copy of this on the other side in fact before I create a copy of it I'm just going to make sure it goes down to the bottom it does yeah so alt and I'm going to put one on this side I might have to fine-tune this oh hello in a minute but that looks pretty good there yep and then the doorway needs to go back to about there and I can now see that that's intersecting too much so I'm going to move the door over just one I'm going to have to have them intersecting a little bit and move this trim over one as well and that looks pretty good I just need this trim to continue up so I'll select both of these hold on my keyboard in fact let's just change my snaps back to 50 before I do this and then I'm just going to move these up that and that is good to go so I'm just going to hit play quickly and check that everything's behaving itself so I'm just going to make sure that I can get through the door if I go too far I'll fall off the end of the world so I'm not going to do that but my play can get through the wall there all the other collisions are working as expected as I said we're going to sort this corner out in a sec we've got another piece to bring in for that so that's what we're going to do in the next step so we're going to bring in the corner piece which is a corner trim we're going to bring some decoration in for this wall here to make this up nicer and get closer to finishing this level and finishing this chapter so I'll see in the next step why we're going to bring in the final couple of measures and finish this level thanks so much for joining me I hope you found this tutorial helpful and enjoyable if you're eager to dive deeper into game development with Unreal Engine 5 I have a fantastic recommendation for you I highly recommend checking out the course Unreal Engine 5 the complete beginners course by David Nixon on Udemy it's a comprehensive and beginner-friendly course that covers all the essential aspects of working with Unreal Engine 5 I personally found it to be an excellent resource and I'm sure you'll benefit from it too check it out by following my link in the description below once again thanks for watching and supporting the channel if you'd like to help me create more content like this please consider becoming a patron on Patreon the contributions I get through Patreon make a huge difference in keeping this channel going remember to like comment and subscribe to make sure you don't miss my upcoming tutorials your support and engagement mean the world to me and help my channel continue to grow thanks again and I'll see you in the next one