Door And Key System | How To Open A Locked Door With A Key In Unreal Engine 5 (Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 67

  • @masterx_6119
    @masterx_6119 ปีที่แล้ว +17

    bro you have all tutorials i need for making a horror game. that helps me a lot. thanks a lot

  • @PatrickTheDM
    @PatrickTheDM ปีที่แล้ว +2

    It's a variable key to success! 😁 Edit: As you can see from my comment I expected you to use variables to match the key and door and you surprised me with a new way to do it. Great tutorial. Now I understand why you did a tutorial that you had done in the past.

  • @exakelgaming
    @exakelgaming 11 หลายเดือนก่อน

    this helped with one of my game design assignments.

  • @jawsomeproductions
    @jawsomeproductions 8 หลายเดือนก่อน

    This was a great help, thanks for putting it together!

  • @ezz1288
    @ezz1288 3 หลายเดือนก่อน

    Matt as usual, your tutorial are super useful! Thank you!

  • @muneebhero1159
    @muneebhero1159 ปีที่แล้ว +4

    Please matt as planned I am begging you please please please make a video on unreal engine 5 first person shooter combat system please

  • @blackcap_gamer
    @blackcap_gamer 4 หลายเดือนก่อน

    Thank you so much bro exactly what I was searching for

  • @CountCoffee
    @CountCoffee ปีที่แล้ว +1

    I did your UE4 locked door tutorial and it didn’t work… I hope this one does! Lucky I didn’t do this more than 3 days ago XD

  • @specificlegend
    @specificlegend ปีที่แล้ว +2

    When second part to multiplayer doors, please we need to this, with linetrace without box overlapping

  • @vickycorbalan8556
    @vickycorbalan8556 10 หลายเดือนก่อน

    your tutorial was great! thank you so much :)

  • @vladiktomil434
    @vladiktomil434 7 หลายเดือนก่อน

    Very good tutorial bro! Thank you so much. Let's see you could upload something with Advanced Locomotion System.

  • @One-4-uDe
    @One-4-uDe ปีที่แล้ว

    Awesome, that way is more elegant as I did with variables.

  • @bunnygodx
    @bunnygodx 10 หลายเดือนก่อน

    great tutorial, thank you!!!

  • @kevCarrico
    @kevCarrico ปีที่แล้ว

    great tutorial - i'm using this to put a coin in a subway turnstile (and then setting "has key?" to be false) - thank you!

  • @federicob9211
    @federicob9211 3 หลายเดือนก่อน

    thank you very much, you saved me

  • @ravi12880
    @ravi12880 6 หลายเดือนก่อน

    Thank you sir i appreciate it 😊

  • @r1strange698
    @r1strange698 13 วันที่ผ่านมา

    Thanks

  • @lordhightower6124
    @lordhightower6124 10 หลายเดือนก่อน

    very nice man thank you

  • @AUTONOMOUSTANZIM
    @AUTONOMOUSTANZIM ปีที่แล้ว

    Ur the best tutor ever

  • @studiodenne
    @studiodenne 11 หลายเดือนก่อน +5

    Hi, thanks for this tutorial. It still works when I put the key anywhere on the map. But if I put the Key inside an drawer, as an child actor, I can pick the key up, but can´t open the door, because at this moment I can´t promote the BP_key to the BP_door at the default. What can I do to put Key inside the drawer an use them ? thank you

    • @halfrican8682
      @halfrican8682 29 วันที่ผ่านมา

      dont make it a child in that case just make it inside the drawer make sure the collision on hte drawer is complex so it fits the angles and then youd have to maybe to a line trace to make itwhere you can grab the key inside the drawer. you may can make the child instance editable but im not sure

  • @Lucifer100990
    @Lucifer100990 6 หลายเดือนก่อน

    Thank you

  • @CyberianWaste
    @CyberianWaste ปีที่แล้ว +5

    How can this be adapted to open multiple doors (the blue keycard opens all blue doors)? Would you have BP_Key contain an array of multiple BP_Doors? Or is there a more efficient way?

    • @MonkeyDGhoul
      @MonkeyDGhoul ปีที่แล้ว

      did you manage to do it? and how? thanks

    • @andresaraya5198
      @andresaraya5198 ปีที่แล้ว

      idk if this will actually work but, can you add a int to specific key and then assign the same int to all the doors you want to open with that key. When trying to open them you can check/compare if they have the same int, if that is the case then the door opens.

    • @Iobsterpeterson
      @Iobsterpeterson ปีที่แล้ว

      You can use gameplay tags.

  • @andrewvanderwalt8494
    @andrewvanderwalt8494 6 หลายเดือนก่อน

    Hi Matt, Awesome tutorial mate! Question though...How Can I make it that the key can just unlock a door when picked up without having to select it with the picker when spawned into the map? In the class defaults it is grayed out so I can't set what key will unlock which door before it is spawned into the world. I want a boss AI to drop the key and the player just picks it up and unlocks the door that was set for that key. Thank you in advance

  • @ASTRAL15293
    @ASTRAL15293 3 หลายเดือนก่อน

    Thanks. :)

  • @dicesuki4286
    @dicesuki4286 หลายเดือนก่อน

    Hi There. I encountered a problem on my code. I tried to follow your tutorial, while it works however the catch is that once one player got the right key, all players can now open and close the door. how can you make this where only the player who picked up the key can open the door?

  • @tristanshiels
    @tristanshiels 4 หลายเดือนก่อน

    hey great tutorial but i have finished it but cannot interact with the door once the key has been picked up, i have been back through the video and checked everything. does anyone know why this could be ?

  • @giloniellfeliciano6911
    @giloniellfeliciano6911 ปีที่แล้ว +1

    I tried doing it exactly but the only thing it doesn't let me is interact with the key, pressing the key on my keyboard doesn't activate

  • @jawsomeproductions
    @jawsomeproductions 8 หลายเดือนก่อน

    Is it possible for one key to be set for multiple doors, like a key card system?

  • @SharinganDeeOfficial
    @SharinganDeeOfficial 9 หลายเดือนก่อน

    What do I do if I want my door to require more then one key

  • @Mikaela112
    @Mikaela112 11 หลายเดือนก่อน

    For some reason the doors collision is gone and I can walk through it? An idea what's caused this?

  • @raulalvarado7465
    @raulalvarado7465 7 หลายเดือนก่อน

    I just used the aitudthy heavy key repond.

  • @ERAK_Aenyegames
    @ERAK_Aenyegames ปีที่แล้ว

    I have one question, my door just do ROTATION, bot not open like urs, how it can be possible ?

  • @bunnygodx
    @bunnygodx 10 หลายเดือนก่อน

    subscribed

  • @OnlyViKnows
    @OnlyViKnows 10 หลายเดือนก่อน

    So the tutorial worked sort of? Except it made my door does a complete 360 rotation even though i followed everything

  • @GuestStudios690
    @GuestStudios690 ปีที่แล้ว

    hey bro i got a problem in my game: i want to make it so when a object interacts with another object one simulates physics but i dont know how to do that

  • @Michael-nf5ji
    @Michael-nf5ji หลายเดือนก่อน

    I ran into an issue.
    The door isn't opening or rotating at all. I can place the key into the level and pick it up. Though there's no interaction with the door.
    Lastly, I forgot how to set the door so the player cannot walk into it and pass through it without the key.
    If anyone can help, I'd appreciate it!

  • @Buddyer_ler
    @Buddyer_ler ปีที่แล้ว

    hi i would like to know how to make a submarine for a game, if i can

  • @PekiPavle
    @PekiPavle 8 หลายเดือนก่อน

    for some reason when I open the door I can't go trough it. Anyone know a way to fix that?

  • @Tamrielforever
    @Tamrielforever 9 หลายเดือนก่อน

    The key wont pick up for me. The only difference is I had E already set up. I've set up a door before. Just not with a lock system. Any tips?

    • @Tamrielforever
      @Tamrielforever 9 หลายเดือนก่อน

      UPDATE. The last part where i connect the door to the key isn't working!!

  • @ahmadruslanovich739
    @ahmadruslanovich739 ปีที่แล้ว

    Hi, Matt! How would you make a smartphone like in gta v? I mean there should be user widget and what’s happening on that widget should be displayed on phone object model. How we can transfer my user widget state into phone model widget? Anyway thank you!

  • @goldskull4498
    @goldskull4498 6 หลายเดือนก่อน

    soo confused, i followed step by step and it still doesnt work. i think it might be the timeline thing idk how to use it ugh

  • @MattC-137
    @MattC-137 7 หลายเดือนก่อน

    How can I open multiple different doors with one key?

    • @MattC-137
      @MattC-137 7 หลายเดือนก่อน +2

      I figured it out: if you right click on the door variable within the key blueprint to then change variable type, it will change it to an array and allow you to assign the same key to multiple doors.

  • @makarqvvv
    @makarqvvv ปีที่แล้ว

    you best

  • @shinykyogre7197
    @shinykyogre7197 6 หลายเดือนก่อน

    the key wont be picked up, so odd

  • @m23rco
    @m23rco 5 หลายเดือนก่อน

    Bro everything with key work but the door dont move, pls

  • @amarshil2415
    @amarshil2415 ปีที่แล้ว +1

    Hi mate can you make a Vedio on how to make jump attack system

  • @Tamrielforever
    @Tamrielforever 9 หลายเดือนก่อน

    I tried this on a new project and the key still wont pick up!!! There might be something you need to update.

  • @george_iv_4548
    @george_iv_4548 7 หลายเดือนก่อน

    My door opened up and down 😂 I don’t know what I messed up

    • @NotSnakeRex
      @NotSnakeRex 6 หลายเดือนก่อน

      try rotating it not on the Z Axis, try the X or Y Axis

  • @Kami-fs2db
    @Kami-fs2db 5 หลายเดือนก่อน

    interact doesnt show at 5:00

  • @rayxboxtf1488
    @rayxboxtf1488 3 หลายเดือนก่อน

    I can't pick up The key 🗝️ 😭😭

  • @JoTheMonkey
    @JoTheMonkey 7 หลายเดือนก่อน

    last part doesnt work for me

    • @JoTheMonkey
      @JoTheMonkey 7 หลายเดือนก่อน

      for some reason the door wont be accepted as an actor or something

  • @makarqvvv
    @makarqvvv ปีที่แล้ว

    I love u

  • @Iobsterpeterson
    @Iobsterpeterson ปีที่แล้ว +4

    Do not suffix bools with question marks, and don't put spaces in variable or function names. These are bad practices.

  • @Salad-Gamer
    @Salad-Gamer 11 หลายเดือนก่อน

    8:31

  • @km3668
    @km3668 23 วันที่ผ่านมา

    really helpful! thank you!!