Тёмный

How to make a Realistic Door System in Unreal Engine 5 | Complete First Person Horror Tutorial 

Code Things
Подписаться 6 тыс.
Просмотров 17 тыс.
50% 1

Support Me & Get These Files Here: / codethings
CodeThings Community Discord: / discord
Ready to make your game even more realistic? In this tutorial, we remake a Resident Evil 7 staple in its door system. If you missed the previous tutorial, don't worry, I've got you covered with a card link to catch up. Get ready to take your game to a whole new level of immersion. Learn how to add a realistic advanced door system to your game in this tutorial. Subscribe now and let's get started!

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 95   
@Alpha_GameDev-wq5cc
@Alpha_GameDev-wq5cc 2 месяца назад
This is the first channel I’ve found which does high quality tutorials, starting from the scratch, explaining every step, explaining logic behind decisions and implementing actually useful production quality mechanics.
@codethings
@codethings 2 месяца назад
Thank you so much :D
@sahilsawant7415
@sahilsawant7415 16 дней назад
This youtuber is best 😊
@lunarwith9
@lunarwith9 3 месяца назад
I would suggest using blueprints interfaces rather than casting to the player. Makes the code more efficient. Overall really good tutorial i liked it.
@codethings
@codethings 3 месяца назад
In my “interact system” video I updated the interact system with a blueprint interface and everything :)
@HamidCheraghian
@HamidCheraghian День назад
Hello friends, in order to separate the door frame from the door, you must do the following steps: 1- Import the object. 2- Place the object in the scene (with drag and drop). 3- Open the Modeling window with SHIFT+5 keys. 4- Enter the XForm section. 5- Select the door object in the scene and then click on Split. 6- In the Split window, set the Output Type option to Static Mesh and check the Transfer Materials option, and at the end, click the Accept option. Now the object in the Outliner has separate components.
@khaotixy
@khaotixy 25 дней назад
my door opens just fine on one side, but if I go through it I then can't open it from the other side, help me please :(
@dwain.d
@dwain.d Месяц назад
Using dot product is such a neat way to handle the door opening direction. That's not a node I ever thought of using and so much easier than how I generally try to do it. That's why it's definitely worth seeing how others solve the same problems. This is a really good series which is why I've subbed and joined the Discord to see what other time saving tricks I might learn. Thanks.
@codethings
@codethings Месяц назад
Thank you so much for the kind words :)
@Asiamanman
@Asiamanman 5 месяцев назад
brother u deserve more views man u doing a great job
@codethings
@codethings 5 месяцев назад
Thank you for the kind words!
@ClipChaser
@ClipChaser 7 месяцев назад
Thank you for this tutorial!! This was really well structured and super helpful, subbed!
@Dhdowned
@Dhdowned 3 месяца назад
the automatic door closing isn't working at all, do you have any idea what i could of done wrong? everything else is working perfectly
@codethings
@codethings 3 месяца назад
Hmm, it could be a multitude of things. If I were you, I would start from that point of the video when I start making it and retry from that point on. Since everything else is working, that shouldn’t take too long to remake that functionality and all it takes is a small thing to miss! If that doesn’t work, you are more than welcome to join our discord community and post it under code-help for additional help :) the link to join is in the latest community post
@Dhdowned
@Dhdowned 3 месяца назад
@@codethings ok, i'll try that again
@digitalgamers822
@digitalgamers822 20 дней назад
Is there a way to make this work with the Customizable Interaction Plugin that is free for the month in the epic games marketplace?
@PuniieGodx
@PuniieGodx 5 месяцев назад
mate you for sure deserve more subs and views! also could you maybe try and make a resident evil inventory system ? that would be so cool to make if not all good
@codethings
@codethings 4 месяца назад
Thank you so much for the kind words. Also, 100% I will in the future so definitely be on the lookout for that :)
@OiItsPhantom
@OiItsPhantom 4 месяца назад
@@codethings Would you be able to do the one from 4 specifically with how the size of each item takes up a certain amount of grid spaces? That one seems cooler than other RE games which had an item just take up a single slot or 2 max. RE4 was way more complex for inventory
@nicko_3d_art
@nicko_3d_art Месяц назад
followed everything in the tutorial and its still not working, dont know whats missing
@Uchidan
@Uchidan 15 дней назад
Same. Doesn't open at all.
@yes_azhr
@yes_azhr 3 месяца назад
Thank you for this tutorial! However I have an issue with the LINE TRACE. When I press E the LT goes in a fixed direction and not towards the camera.
@Jonesus
@Jonesus 21 день назад
Hi, When going from open to closed, the door stays open about 5 degrees, and cant get it to turn to the original position. Cant figure out what I've done wrong, please can you help?
@Jonesus
@Jonesus 21 день назад
Nevermind, Watched the second part where you covered this!
@pamudithkanchana9393
@pamudithkanchana9393 Месяц назад
can you make that when partially open to close sequence. Maybe from a deferent button to that. Like a peek from the door ..please
@mr.jbusiness6679
@mr.jbusiness6679 4 месяца назад
does it matter If I only follow this video for the code or do I have to go to your previous videos in your playlist for this to fully work?
@codethings
@codethings 4 месяца назад
For the door system, you should be good to just follow this video for it to fully work :)
@mr.jbusiness6679
@mr.jbusiness6679 4 месяца назад
@@codethings Thanks man, by the way your tutorials are Great! idk how you don't have more views
@hansolo-7625
@hansolo-7625 3 месяца назад
Great work!
@personalvict
@personalvict Месяц назад
Why I can only open the door from one side? I dont know what to do. P.D: Your videos are asome keep going!! Greetings From Spain
@HighLammer
@HighLammer 2 месяца назад
Good job !!
@codethings
@codethings 2 месяца назад
Thank you very much! :D
@LyriaTempest
@LyriaTempest 4 месяца назад
Hi, thank you for this tutorial! I noticed that we were blocked when we wanted to interact a second time with the door when it didn't finish opening. Basically, you partially open the door for the first time, but if you want to open it quickly by pressing the interaction key twice instead of once, it won't work because you have to wait x seconds without interacting. How could we do so that this takes into account the fact that we want to open the door more quickly by interacting twice in a row on the door without waiting x seconds?
@kristofferapneseth
@kristofferapneseth 2 месяца назад
Keep it up love your videos🤌🏻
@codethings
@codethings 2 месяца назад
Thank you!
@brandonsharp1495
@brandonsharp1495 7 дней назад
I was almost certain you were Bioxide TV lol. But guess not
@GentlemanJay111
@GentlemanJay111 2 месяца назад
running into an issue where when i interact with the door to open it partially I have to then look away and look back at it and interact again to open it all the way. any idea why that is? Ideally I'd like to be able to just click twice rapidly to fling the door open if i need to.
@codethings
@codethings 2 месяца назад
I would recommend joining my discord server so me as well as the community can try to help you further but just so I understand, do you particularly HAVE to look away or is there just a time that you have to wait between? Because, there is a time between partially open and open completely that is there by design. The functionality to click it twice to rapidly open is something I can potentially add in the future! Hope this helps :D
@GentlemanJay111
@GentlemanJay111 2 месяца назад
@codethings thanks for the quick reply! Honestly after posting I realized it was kinda random whether or not I had to look away or not, but I did find that setting the speed of the animation higher made it a little smoother. I also added a quick OnComponentHit event that opens the door all the way of its already partially open. Really appreciated this video and I'm def looking forward to more!
@GentlemanJay111
@GentlemanJay111 2 месяца назад
​@codethings also I tried to join the discord but the link in the community tab says it's invalid 😢
@codethings
@codethings 2 месяца назад
oh shoot ill have to update that but here is an updated link to the server here as well :) discord.gg/ngVv7JQJMT
@joanesunzu3087
@joanesunzu3087 3 месяца назад
Would it be possible to make the hand push as shown in the game?
@codethings
@codethings 3 месяца назад
Yes, I am working on this system so that I can make a video on it in the future!
@mr.jbusiness6679
@mr.jbusiness6679 4 месяца назад
Hey I'm pretty I followed each step but when I press E on the door it doesn't move, do have any ideas as to why this might be happening?
@codethings
@codethings 4 месяца назад
There could be a lot of reasons tbh since this system is a lot of steps sadly. I would first put print statements right after the line trace in the interact and see if you can see the print. If you can, then you know it’s the door and you can rewatch that part of the tutorial. Alternatively, you could put print statements throughout the different door custom events and find out that way as well. You may have just missed one important thing, hope this helps!
@mr.jbusiness6679
@mr.jbusiness6679 4 месяца назад
@@codethings ok I tried using the string at the line trace and it did appear, but I think I might know what the issue is, I'm using the default door mesh with the default Collison, I'm wondering would the collision affect me opening the door or would it not? - The Event Play worked, Door Interaction Mathematics Works, the Handle Door part doesn't seem to show any string nor does the Handle Rotation, have any ideas?
@mr.jbusiness6679
@mr.jbusiness6679 4 месяца назад
@@codethings Im using Unreal version 5.2 does that matter?
@Hmz-Ozdmr
@Hmz-Ozdmr Месяц назад
He works with my back to the door,how can I fix
@mori5676
@mori5676 Месяц назад
is my door crazy or i have to look at top of the door to open the door ?😅 any idea why ? update : im using door from starter content . and i added collision to the door . and now its working 😂 amazing video
@codethings
@codethings Месяц назад
Good catch haha
@academictakumi7406
@academictakumi7406 Месяц назад
Thanks for the other great tutorial!! How can we add the door sound to it? Is it okay to simply add 2D sound node from set timer by event node?
@codethings
@codethings Месяц назад
@@academictakumi7406 in my part 2 of the door tutorial I added a functionality to add door sounds :) it’s a bit more complex
@academictakumi7406
@academictakumi7406 Месяц назад
@@codethings Oh thanks!! I am watching your tutorial series so I will get to that soon;)
@marcofurlan3834
@marcofurlan3834 5 месяцев назад
24:25 Why it says ''BP Door Object Reverence is not compatible with BP interact Door Object Reverence'' :/
@codethings
@codethings 4 месяца назад
I’m sorry to hear you’re having a problem at setting up the interaction part :( I just set up a new tutorial today actually that should fix this issue? If not, though, it does sound like you potentially misnamed your door blueprint? I would rewatch the tutorial and make sure the names are identical or match up to what you made yours
@Pasha01881
@Pasha01881 2 месяца назад
I did the same but it didnt work (can you help me please) 👏
@davidpankov
@davidpankov 3 месяца назад
Friend hint) Made all the same) Everything seems to work) But when the door is open and I close it) It closes as if not completely and a little bit not to close) How to solve it?
@codethings
@codethings 3 месяца назад
Hmm, can you show me what you mean when you say it doesn’t close 100% ? A reply with a screenshot would definitely help
@brandonsharp1495
@brandonsharp1495 3 месяца назад
@@codethings Im having the same issue, when you manually close it, it leaves a small amount of space between the door and the frame.
@brandonsharp1495
@brandonsharp1495 3 месяца назад
Also another issue, depending on the angle at which you hit the trigger, sometimes it doesn't open in the right direction.
@hentailover8444
@hentailover8444 20 дней назад
i know this is 3 months late but did you find a fix i have the same issue i'm thinking it was a problem with the door mesh itsself?
@legendz7273
@legendz7273 Месяц назад
My door isnt dooring
@codethings
@codethings Месяц назад
:( I’m not 100% sure why but you can always join the discord and we can try to help you out there!
@TIXSOCAR
@TIXSOCAR 3 месяца назад
Broo Can you upload the door file in Google Drive and put it on RU-vid???? Ineed this door model
@codethings
@codethings 3 месяца назад
In the beginning of the video, I showed where I got the door from. I got the door model from sketchfab, there are also many more doors! Hope this helps :)
@TIXSOCAR
@TIXSOCAR 3 месяца назад
@@codethings Yes, I know, but the problem is that the doors stick together 🤒
@codethings
@codethings 3 месяца назад
@@TIXSOCAR ah I see, yes, the mesh comes as a singular mesh which means you should import the mesh to blender and separate the door from the frame so that the door is a mesh by itself! Hopefully this helps :)
@makzy_smart
@makzy_smart 3 месяца назад
I also grabbed the door and "cut out" the parts in Unreal Engine. The modeling tool in UE5 is really good and there you can, for example, cut out the door with a "Boolean Cut" :)
@codethings
@codethings 3 месяца назад
@@makzy_smart I’ve never used that before, really good suggestion thanks! :)
@oliveoiljunior5148
@oliveoiljunior5148 20 дней назад
Could you please put the door models in the description? The materials are all wrong after I split the same one you used.
@SAYRESS
@SAYRESS Месяц назад
my door just hits my head lol. when im trying to interact it rotates wrong direction...
@Stefan188x
@Stefan188x 23 часа назад
you should trigger maybe something thaht when the door was half open its goes direct to open with next key was pushed, close it first or doing the next time again only halfopen is kind of not nice
@revanope
@revanope 6 месяцев назад
Please make againt mechanic in resident evil 7 like tape scene in first gameplay,Subbed!
@cube9878
@cube9878 3 месяца назад
Alright, thanks for the tutorial it's been very helpful. But why does your door move so smoothly? I did it step by step, and it skips to the rotation point.
@codethings
@codethings 2 месяца назад
Hm, I’m not 100% sure but if you are still confused you can always join the discord community and ask either myself or some of our community and we can try to help you :)
@avdijamuda637
@avdijamuda637 3 месяца назад
Great video! You explain everything, how to do it and why are you doing it. But I came across a problem, the door only opens partially when im using normal input, when im using enhanced it wont even open! What can I do to fix this problem? I've been trying to debug it that I learned the code by heart😅
@codethings
@codethings 3 месяца назад
Thanks! Join our discord server and people can potentially help you with your answer :)
@avdijamuda637
@avdijamuda637 3 месяца назад
@@codethings Thanks for the response! I send the problem at your discord I'm looking forward if anyone knows the solution!
@charleskelvinamacanin8197
@charleskelvinamacanin8197 Месяц назад
Tutorial working really great. but sometimes i notice the door will open to the player not in front im really confused. Still subscribed ty for the video.
@Cammandokid
@Cammandokid 4 месяца назад
I am working on a horror game and watching your tutorials has really helped. Keep up the good work.
@codethings
@codethings 4 месяца назад
Thank you very much!
@masongrabster8938
@masongrabster8938 7 месяцев назад
Thanks for your tutorials they taught me a lot Hope to see more of your tutorials
@codethings
@codethings 7 месяцев назад
No problem! I’m happy they helped you :)
@MohamedbinSaud
@MohamedbinSaud 6 месяцев назад
Great ! But we want a new tutorial for door sound like RE7.
@codethings
@codethings 6 месяцев назад
This would be easy to extend off of my this system, if you wanted you could play a specific sound for the creek or fully open or closed when each of those actions are called in the blueprint
@thehellini
@thehellini 2 месяца назад
Hey man, been over the tutorial twice and I can't seem to open the door fully, I can only get to "Partially open" and "Closed". It won't open all the way?
@mamboroberts
@mamboroberts 2 месяца назад
G'day - I had this and found I had forgotten to put the Door Open Angle variable default to 90 degrees. If not this check you have the enum variable plugged into you switch on enum in the stop interacting with door function and that you're multipliy in Handle Door is plugged it to the Handle Rotation function call. Hope one of these helps...
@thehellini
@thehellini 2 месяца назад
@@mamboroberts ah thank you for the help, I have managed to change the way it swings now anyway just went more generic lol, appreciate the comment tho man!
@aspect1869
@aspect1869 4 месяца назад
hi there, i enjoyed the tutorial but i have an issue where door only opens from 1 side, i watched the tutorial 3 times and i cant figure what is wrong, maybe you missed adding something into the video somewhere around 18 minutes with pivot points?
@codethings
@codethings 4 месяца назад
Hi! Sorry to hear that, do you have the door open location scene component in the middle of your door and a child as it is in the video?
@khaotixy
@khaotixy 24 дня назад
Look at the line trace part closely, you might have switched by accident a couple connections
@2up_2Down
@2up_2Down 2 месяца назад
The best tutorial channel i ever seen keep going ❤
@codethings
@codethings 2 месяца назад
Thank you so much!
Далее
I Made a Game in Unreal in 14 Days... (No Experience)
32:59
When Gamers Turn Into 5-Star Voice Actors!
11:57
Просмотров 1,7 млн
The Home Server I've Been Wanting
18:14
Просмотров 133 тыс.
ПРОВАЛ PLAYSTATION 5 PRO
11:30
Просмотров 200 тыс.
How I Remade MW2 with Unreal Engine 5
12:37
Просмотров 3,1 млн