HOW TO CREATE A SLIDING DOOR IN UNREAL ENGINE 5 USING BLUEPRINTS

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

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

  • @arkmoni8983
    @arkmoni8983 ปีที่แล้ว +16

    Flickering Door Bug Solution : Don't attach "Box collision" to Static Mesh :)
    If you do that, Your box collision move together with your sliding doors, and your character collision constantly in and out from your collision box, which is cause : Flickering Door Bug.
    Solution : Attach "Box Collision" to "DefaultSceneRoot"
    your welcome :)

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

      thank you very much, good tip 🥂🥂🙏🙏 :))

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

      perfect, thanks :D

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

      It just made it worse😔

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

      I was seeking for that solution. you just brough it! =)

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

    دس خوش داداش. ادم عشق میکنه میبینه یه هموطن مشکلشو حل میکنه . موفق باشی

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

      مخلصیم 🥂🙏

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

    Thank you, I had to use the door itself not the collision box. Though I set the collison box to the scene root. I as well did a slide up on Zed. So not sure if that had anything to do with it.

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

      no problem , there are a lot of ways to do things in unreal, if it works, then it`s ok ! 😉🥂

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

    Great Tutorial, very clear!
    I added some functions to my blue print based on your solution, is working, but I have a problem, my doors have a box collider each, they open fine but when trying to close as soon as they reach the center box collider, they start to flicker. I assume that's because I'm not making any difference between the player and other colliders in the Component Begin/End Ovelap.
    Any idea about how to make it work properly?

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

      thanks, if you cast to your character and define it as the " other object " you should be able to resolve the problem. if it's the real reason for the flickering of course.

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

    Thanks for the tutorial, do you know if there is a way to make this work with a cinematic camera in a level sequence, it would really save time having to key frame and animate all the parameters, especially when there a lots of doors to go through.

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

      you are welcome . yeah it`s possible but haven`t done it myself . I think you should put some event triggers in the sequencer for the actors maybe

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

      @@UnrealART , aah ok, ill see if I can find out how to do that. Thanks

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

    BRO TY FOR THE VIDEO , you save me hope u keep make more videos for be
    giner like me

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

      no problem, glad to be of help,
      I will try my best 🥂🙏

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

    How would you have a different timeline animation for open and close?

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

      You can make another time line or even another node in your blueprints and use that instead .

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

    Brilliant! Might I suggest using the Cast to Player node? I saw it on another video.

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

      thanks 🥂🙏, well there are a lot of ways to achive what you want 😉

    • @JuanSumChninezeFue
      @JuanSumChninezeFue 2 ปีที่แล้ว

      @@UnrealART I agree. The video i previously saw was from a senior developer from Riot Games and she used that node, as well as other nodes. I found it to be odd that she used more nodes to do the same thing (using float instead of vector, as well as doubling the code to reverse door sliding instead of just plugging the EndOverlap node into the same pins as BeginOverlap node).
      I would imagine your example is much better due to it's simplicity.

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      thanks for your comment , yeah I try to keep the process as simple as possible so it's easy to learn and easy to use, i am doing the same job in my other turorials too 🥂😉

    • @IamNeighborlee
      @IamNeighborlee 2 ปีที่แล้ว

      @@UnrealART question, and TY so much for simplicity! WHy does it work not using cast to 3rdpersonblah ? Also , I can't get any overlaps towork onmy mesh with box collision. Any idea why, the player runs onto mesh with box over it and nothing happens. ue 5.1,windows 11 all updates.

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      @@IamNeighborlee you are welcome,
      there might be some errors in the blueprints, I need to take a look into your blueprint to figure out what the problem is, you can email me screenshots or your project file 🙏 4lirezaemami@gmail.com

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

    Thank you ❤you are the best ❤❤

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

      You're welcome 😊

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

    When I use the setRelativeLocation function, I put 50 in the x axis to the move the door to the side, but the door also moves on the y and z axes to zero. What am I doing wrong?

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

      maybe you didn't lock the Y and Z axis correctly in the timeline node and the value is working for the all 3 . make sure you lock z and y and only give value to the x axis

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

    This is awesome, thanks

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

      Glad you like it!

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

    Thank you, i’ve tried with “track float” and with some reason it didnt want to play reverse

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

      no problem , double check everything and if you couldn`t solve the problem , email me your project so I can look into it

  • @mohammedarsal7994
    @mohammedarsal7994 2 ปีที่แล้ว

    Nice Tutorial.you deserve more subscribers

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      I appreciate that!

  • @ianburke5867
    @ianburke5867 2 ปีที่แล้ว

    Nice tutorial. Thank you.

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

      You're welcome ;)

  • @Gametime05577
    @Gametime05577 9 หลายเดือนก่อน +1

    Thanks for Making Tutorial

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

      You're welcome🥂

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

    well it worked but i didnt when i tried to add the frame and the handles aroun d the door, i think i might have to do it seperately...i mean 7 time, (1x glass, 4 frame segments, 2 surfaces for the handle)

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

      no you don't need to do that, there are better ways.
      you can make them all a child to the main static mesh in the component tab so they move along with it.
      the other way is to use set actor rotation instead of set relative rotation, so the whole blueprint moves and not just the static mesh .
      the third solution is to go back to your 3dmodeling package, make them one mesh and then reimport it again.
      just don't make 7 blue prints for a simple door ! Lol

  • @Nynex
    @Nynex 2 ปีที่แล้ว

    love all your tutorials

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      thanks 🙏🙏🥂🥂

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

    Hello Alireza! For me the door moves correctly only before I add the timeline. After I do it, it stops moving. Could you help me? Thanks!

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

      Hello, I hope you are well, I think something is wrong with how you set the timeline node, either it's the track or the inputs and out puts. In this video I completely explain the timeline node , maybe it helps .
      th-cam.com/video/r4znM0S9fIw/w-d-xo.html

  • @frankornelas1011
    @frankornelas1011 2 ปีที่แล้ว

    Great tutorial. Thank you man

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

      no problem 🙏🥂

    • @frankornelas1011
      @frankornelas1011 2 ปีที่แล้ว

      I am running into an issue where the door isn't closing

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

      @@frankornelas1011 make sure you play the level with a first person character and don`t simulate it,
      also check the oncomponent end overlap and plug it into the reverse animation, it is explained in the tutorial you might have missed it 👋

    • @frankornelas1011
      @frankornelas1011 2 ปีที่แล้ว

      @@UnrealART I just just had start a new module and then it worked. Something bugged out on the first one. Thank you so much man your great and I subscribed :)

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

      @@frankornelas1011 well resetting always works 🤣🤣

  • @VinhDDD
    @VinhDDD 2 ปีที่แล้ว

    very useful for beginer like me. Thank you

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      No problem ;)

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

    I followed the tutorial exactly and my door does not work, do you know why it might possibly not work?

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

      it can have several reasons. please send me a screen record of your project so I can look into it . 4lirezaemami@gmail.com

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

      @@UnrealART I found another tutorial using a different method and that seemed to work, thanks for the offer though.

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

    Hello, what kind of function it needs for the door to rotate rather than slide? Can you do a video for a rotating door? Thanks !

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

      hello ,you are lucky , I made a tutorial about it recently 😉🥂
      th-cam.com/video/obJk_veVMuA/w-d-xo.html

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

      @@UnrealART Awesome, thanks !

  • @logansmith5375
    @logansmith5375 2 ปีที่แล้ว

    It looks like when I do it the reverse animation is not working when I do look at the event graph it looks like the begin overlap and the end overlap are activating at the same time when I leave the box so only the start animation works not the reverse how would I fix that?

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      well I can`t exactly know what is causing the problem without looking at it, your collision box can be the problem .you can delete the blueprint and create a new one from scratch. if it has the same problem again you can email me a screenshot of your BP . 4lirezaemami@gmail.com

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

    not work at all,...i added lerp to timeline with float range, and to relative loc i connected A with B vector values, where B change to final position,...then it works how it should

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

      it seems you have solved the problem, but it also works as explained in the video, maybe you have missed something

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

      You probably didn’t set the correct value for the value number in the timeline. I thought the same thing and had mine set to 1, but I had to set it to 580 to get it to open and work.

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

    I need help on the reverse...My door is not closing

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

      maybe you have plugged it into the wrong pin, please double check the nodes and if you could not find the problem , you can email me a screen record of your project so I can look into it 🥂🙏

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

      @@UnrealART Thanks for getting back to me. I had a little help figuring it out. The box was connected to the door instead of being connected to the opening/frame. It was a bit of tinkering and trial and error - - it was the box.
      Your channel is by far the best in the way that you walk through the information and present it. I certainly appreciate your promptness to answering questions. You are consistent also, it looks like you take the time to answer every comment. Bless you and may the blessings continue and increase.

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

      @@BingGeaux thanks mate, I am glad that you like the channel , I am taking this seriously and it`s not just a hobby for me, I am trying to do my best here and I hope the content is valuable for developers and 3d artists . 🥂

  • @1satoo1
    @1satoo1 ปีที่แล้ว

    It somehow doesn't comeback to the original location for me, i follow exactly as the blueprint show may i know why? plus the slide only happen once per trial and somehow doesn't happen again when i put my character in the box

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

      well if you followed the video correctly and couldn`t find the problem, you can send me your project file so I can look into it 🥂🙏

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

    when i build lighting/geometry or package game with any blueprints i've made with static meshes they get removed

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

      that`s unusual , if you provide me with a screen record what exactly is going on, I can be of help

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

      @@UnrealART It's kind of hard to make a screen record, but basically I made a blueprint with a box collision and a static mesh of a sliding door and did the timeline to make the door animate open and closed when a pawn is detected in the box collider, and i can put it in my scene fine and run the game in the editor just fine and that all works, but once I go to compile lighting or geometry (which fully compiling the game does) it removes any static meshes within my blueprint instances entirely so they're no longer physically there. if i go back into the BP and hit compile then they show up in the editor again but obviously i can't compile a game to binary form because they get removed.

  • @murphy1934
    @murphy1934 4 วันที่ผ่านมา

    how do i make it go up

    • @UnrealART
      @UnrealART  2 วันที่ผ่านมา

      just play with your Z value instead of X or Y

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

    The closing is delayed when i leave. Any solutions?

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

      maybe your collision box is too big

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

    cool thanx for this

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

      No problem!

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

    When I attempt to connect new track to new location, it stops working. Seems to delete the value of X.

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

      well if you followed the video correctly and couldn`t find the problem, you can send me your project file so I can look into it 🥂🙏

  • @aquadragonjewel
    @aquadragonjewel 2 ปีที่แล้ว

    The final blueprints won’t make it move for me. My timeline node says “Paused @ 0.00 s (0.0 %)”. Is that causing the issue?

    • @aquadragonjewel
      @aquadragonjewel 2 ปีที่แล้ว

      Oh I got it. My timeline value was too small to see the door move. Thanks for the tutorial!

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      @@aquadragonjewel no problem 🥂🥂

  • @s.esamawi8193
    @s.esamawi8193 6 หลายเดือนก่อน

    Nice, but i only have one leaf that slides, no matter how many copies i make, only one leaf slides !

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

      I don't know what is wrong exactly. send me a screen record of your project so I can look into it. 4lirezaemami@gmail.com

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

    it does not work in unreal 4.26 for me. the door just teleports, and it wont play in reverse when the player leaves the collision box

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

      I think there is something wrong with your timeline node

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

    Thank you!!

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

      You're welcome!

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

    I can't even delete the three nodes in the first part, just says "All variables in use"

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

      it can have several reasons, which ue version are you using?

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

      @@UnrealART Version 5.3.2

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

      you can just add the new functions after the events and not delete anything . I guess this can resolve the problem

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

    Thank you!

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

    when my character is out of the collision box, the door doesnt go back or close back

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

      there is something wrong with the on component end overlap part of your blueprint

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

    I dont get it. No matter what I do, my door always slides too fast.

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

      are you using set relative or set world location?

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

      @UnrealART Sorry for the late reply. Relative. But not only this isn't working, no timeline works. I don't know if it's my version, or my PC or something else.

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

      @@ruthkuhne8346 I don't know what could be wrong, you can send me a screen record of your project so I can look into it

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

      @@UnrealART I fixed it. I don't know. I built a new blueprint and now everything is working.

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

      @@ruthkuhne8346 glad you made it work

  • @nu-beings
    @nu-beings 2 ปีที่แล้ว

    This tutorial works half the time. Is there something I'm doing wrong? Have done all kinds of troubleshooting but this video shows that I have the same setup as you th-cam.com/video/a2ymfTr78J0/w-d-xo.html I just split the pins (but that didn't matter).

    • @nu-beings
      @nu-beings 2 ปีที่แล้ว

      @Unreal ART
      Did you notice anything in my video I could fix or change to get the door to close when I leave the collision box?art

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

      sorry I was going to answer the question but something happened and I had to take care of it, try adding a first person character to the scene and play the level with it. here is how : hit add in the content browser and add content and feature pack. choose first person and then drag the first person character into the scene. then in its details tab go to pawn section and put the auto posses player on 0 then play the level.

    • @UnrealART
      @UnrealART  2 ปีที่แล้ว

      let me know if it still doesn`t work so we can find another solution

    • @hengelsportshortclips3091
      @hengelsportshortclips3091 2 ปีที่แล้ว

      @@nu-beings Do not Add the Box to the Static Mesh. Add the box to the "DefaultSceneRoot"

    • @nu-beings
      @nu-beings 2 ปีที่แล้ว

      @@hengelsportshortclips3091 I figured it out but thank you for the answer!