How To Open Individual Drawers (With Model & SFX) - Unreal Engine 4 Tutorial

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

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

  • @stevenwynn819
    @stevenwynn819 3 ปีที่แล้ว +7

    I especially like how you start with the most straightforward algorithm to do the job and then improve it with relative vs world coordinates and a branch to check for process completeness. This really makes your thought process clear.

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

      Yeah thank you, glad you like that. I like to keep that kind of stuff in there to show improvements and everything like that :)

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

    I have a problem, the drawer is working, but now all my state maches are doing the same action and bug everything like the door keeps going back and forth how can the drawer help me please?

  • @Cheesymud
    @Cheesymud 2 หลายเดือนก่อน +1

    for those doing it in Unreal Engine 5, and got to the Float multiplied by Vector part and didn't find it, there's an easy fix. Just get the "Multiply" blueprint and create a new float variable, compile and then press on the variable and set the value you want, then get the variable into the event graph and connect it to the downwards pin of the multiply, and there you go!

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

    Yet again another flawless tutorial.
    Thanks as always

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Thank you so much! Always happy to help :)

  • @coffee-beast-99z
    @coffee-beast-99z 2 ปีที่แล้ว +4

    Thank you so much for your amazing tutorials. You always have every tutorial I need!

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

    Genius Matt! Thanks for all the great content

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Thank you! No worries, glad I could provide it for you! :)

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

    Hello
    Thanks for your good tutorials. I want to open the kitchen drawers with the first person character in Unreal 5 and I want to insert the drawers directly in Blueprint, but with your training in this case, the first person character does not open the drawers and I also could not find your training options in Unreal 5. You may also please upload a tutorial in Unreal 5 to open drawers with the first person character. thank you. sorry i can a little English

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

    Nice one Matt. It'd be cool to create a follow up to this video adding a pickup to each drawer like a key or a readable note or summin? :)

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Thank you! And yeah, that sounds good thanks, I'll definitely remember that one and write it down! Thanks :)

    • @xliquid_
      @xliquid_ 3 ปีที่แล้ว

      @@MattAspland Will you be doing the pickup to each drawer vid?

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

    Damn you are just like brackeys but in unreal engine I really like your videos keep doing what you love.

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

      Thank you so much man, I really appreciate that! I'm glad you enjoy them, and I'll make sure to keep going, thank you again! :)

  • @daredgamingstudios5516
    @daredgamingstudios5516 3 ปีที่แล้ว +3

    can you do a tutorial of a hold drag drawer open mechanic

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

    Thanks for the clear tutorial! Managed to do something similar with boxes as static meshes

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

    Your BP works like a charm, but I have two problems with it:
    1) The line trace goes through other static meshes - this means that you can activate the drawer through other items. Is there a way to block Line Trace when it hits another object type?
    2) Other World Dynamic objects are affected by this blueprint. It there a way to contain this blueprint functionality only to objects within BP?

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

      Probably I am too late, but for the second porblem, try giving tags to your objects and make the blueprint after a branch with "component has tag", do this for every distinct object

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

      ​@@pamfi6570hey can u explain in detail?

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

    Hello Matt, thank you for this video. I put the linetrace inside my Character BP to use it everytime i push E button. But how can i use this with you method? Cause the last time i have done that, i had 2 objects (One Commode with drawers + one switch for lights). Every time i pressed the E button to open the drawer juste after switching the light on (rotation transformation here), the drawer was rotating and not moving?

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

    Hello Matt, I need your help with a issue I ran into.
    Everything works fine untill I try to close the drawer it comes out another 30 instead of closing. I've rewathed the video and check ed the code three times and it seems to be all the same.
    Any thoughts on how to resolve this? Thanks!

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

      i set mine to go out 40 and at the >= i set to 35 which is just below the amount it goes out and this works fine for me!

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

      on the end you will have to copy the entire thing and put it and just change from add to subtract probally

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

    bro I need your help it affects all blueprints and I can't make them static because they need to move, how to make it only affect the drawers

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

    Big thanks for this video ! I used mouse interaction and works perflectly. Importing mesh from 3dsmax I needed only to rotate it there to coordinate x and y values with Unreal. If not than furniture worked as having -x and -y coordinates in Unreal.

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

    If I hit the outer of my drawer, not the shelves, it will move every static object in the world. Any ideas?

  • @sreenivass3972
    @sreenivass3972 3 ปีที่แล้ว

    Waiting since many days
    Thank you Matt

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

      No problem, happy to help! :)

  • @phantomdan0361
    @phantomdan0361 3 ปีที่แล้ว

    Great Video! I've been looking for something like this for ages

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hey, I'd make sure to look into the branch going into your open and close so that it is firing off the correct one. Are the drawers opening and closing correctly?
      Also, make sure that you are only interacting with it if the linetrace does hit the object we are looking for. This part is at the start.
      It sounds like those two parts are missing or incorrect.

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

      @@MattAspland Yep, I managed to get it fixed! Thankyou so much

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      @@phantomdan0361 Ah that's great man! Nice work :)

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

    Hello! I have a problem when pressing E anywhere other that the drawers it disables my interact. I can no longer open the drawers after that. Can you help me? I am using the First Person Blueprint of UE5.1

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

      i have somewhat same problem , have u got any solution?

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

    can u use a cast to obj it self ?
    ex/insted cast to static mesh
    cus if u do that i think it well move all static mesh in level
    can u expline ?
    pls :)

  • @ayham1842
    @ayham1842 8 หลายเดือนก่อน +1

    Thank you for ...but when I want to add the model to the chart it appears randomly and disorganized. What is the solution?

  • @Selkora-f2f
    @Selkora-f2f 2 หลายเดือนก่อน

    Hi thank you for your help, but since I’ve set up so I can move drawers, it’s also moving doors for some reason. How do I fix this?

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

    It works perfectly if I set it up the exact same way you do, but for me to open the drawers it has to be on the Y Axis, if I keep everything the same but switch the nodes to the Y Axis it either opens and then continues to open further out as i click it, or it will open and close and then i cant open it again, i had toyed around with a few thing and got it to open and close, but when i tried to open it again it opened backwards.

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

    I have a level with alot of instanced static mesh blueprints for construction. I plan to have ALOT of dynamic meshes in my level. I need the line trace to ONLY return true if it hits a drawer in the blueprint it is part of. In so many words how do I stop the line trace from moving my stairs and candles?

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

      I also have this problem. Have you found a fix?

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

      @@brokenggs yes I did find a workaround. Inside the blueprint you can add tags. So add a tag such as “interactable” to the blueprint and then right after the line trace, do a branch and make the condition “does actor have tag”.

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

    Hey Matt, isn't it easier to create an interaction interface you can use anywhere?

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

    I'm facing a problem if I come in contact with a blueprint actor having a box collision or a sphere sphere collision the drawers stops working even the line trace aren't visible......

  • @armandolemus9792
    @armandolemus9792 3 ปีที่แล้ว

    Broh your awesome👏👏

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Thank you! Happy to help :)

  • @N-dj4sj
    @N-dj4sj 7 หลายเดือนก่อน

    Unfortunately this method also affects any other item not set to static, which is problematic if you have physics simulated objects, since they have to be set to movable for the physics to work. Trying to find a way around this.

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

    Using UE 5.3. Did not work for me had to modify. Mostly because "get realtive location" using Line trace for Objects would always return the world position not the relative. Found success by using Line Trace Component and the target being the specific static mesh of the drawer. This has to do with the assests I was using and their physics properties.

  • @TriinexHD
    @TriinexHD 3 ปีที่แล้ว

    Great one as always.
    Second Edit, Im stupid. Great video

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

      I'm sure whatever it was, was an easy mistake to make. Don't worry about it :)

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

    Hi sorry to bother you but I dont seem to have the relative location node my only seem to be connecting to my skeleton and I have no idea why lol

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

      Did you ever find a fix?

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

      @@SHDAGENTNY no I just ended up using horror engine which is free and it had the blueprint setup

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

    For anyone using this in UE5, try a value of 15 instead of 30 if you have trouble with opening the drawers

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

      hey, i'm having another trouble here, on 4:03 he makes multiple float block, and in my UE5 i can't find it. What do i do about it?

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

      @@pyt0nmusic363 Right click on the node and click "convert to float"

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

      @@Asmund648 aha, thanks, hah, there are multipipe convertions to float i should use vector(float) right?

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

    Wouldn't this blueprint just open literally anything in the world that is a static mesh though? You aren't checking if it's specifically a drawer.

  • @jameswilliams2373
    @jameswilliams2373 3 ปีที่แล้ว

    awesome man would the line trace start and end location change if it was a top down game.

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

    Is there a way to make a locked drawer?

    •  3 ปีที่แล้ว

      If you use a event dispatcher and tell the BP with Branch node...

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

    Thank you for this! It's weird, I followed step by step and I'm getting a problem where the ground plane moves instead of the drawers?

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

      No problem, and I think that would mean that your floor's mobility is movable. To fix this, you can select it and change it to stationary, this should resolve the issue I believe :)

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

    why target FPP not showing

    •  3 ปีที่แล้ว

      Uncheck the "Context Sensitivity" in the blueprint browser.

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

    Can I reduce the number of drawers

  • @shannasportelli
    @shannasportelli 3 ปีที่แล้ว

    Hey! Not sure if I missed it, but I have a beginner question about the mesh. Does it requires anything specific/special? For instance, could I use a bedroom drawer that I modelled on the condition that it has individuals drawers that can be opened? or is there something else I'm supposed to do to it in order to make it work in Unreal? Thanks a lot 😊

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

      Hey! You absolutely can use your own meshes yeah, there's nothing special these need other then, like you say, individual drawers that you can then open. So you could use your model instead. All the best of luck :)

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

    Hello, in my map I have like 13-14 closets, cabinets et cetera.. let's suppose that the same blueprint would work for all of them, is there a way to apply this to all of them instead of do always the same code for every closet? That would be time consuming

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

    Hi Matt. I have a problem with this code please help me. I have programmed your door tutorial this in the same project. So I think there is a problem with input enabling and disabling. When I opened the door I could not open the drawer. I think you understand the question and please help me

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

      did you ever find this out? as i am having the same issue

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

      @@milkmanjor1654 yes but I cannot remember it now. Could you please tell me is there two trigger boxes

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

      @@GAMTIFY I don't believe so. I am using a line trace in the video for the drawers and a trigger box for the door I have

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

    hi mate great video by the way i have one issue on here it opens fine then it jumps forward and stays there and doesnt go back any solutions

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

    I have a question: What if I have not only drawers, but also doors? I have a 3d model that has both and I want to make it to work for both of them.

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

    Hi Matt, I applied this Blueprint to my own drawer however the individual segments are moving diagonally out of the main body, any ideas?

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

    How to do you export from blender? When i try to export as an fbx, and then import into unreal engine, it imports everything individually (Front panel, handle, container)

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

      I figured it out. Export each drawer individually, so that you have around 8 fbx files by the end. Then when importing, select "combine meshes".

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

      @@rahmanshadman This worked for me. Thanks!

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

    I am unable to get fpp 3:14

    •  3 ปีที่แล้ว

      Uncheck the "Context Sensitivity" in the blueprint browser.

  • @ertugrulyasar5428
    @ertugrulyasar5428 3 ปีที่แล้ว

    hello mat, how can you choose the drawer separately, it comes as a whole when I throw it away.

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

    I know this video is a year old, but why did making the value 25 instead of 30 fix the drawers breaking?

  • @gamedevpaddy
    @gamedevpaddy 3 ปีที่แล้ว

    The video helped me a lot but all of my other static meshes doesn't work or moves like a drawer such as a tv. the issue is that from the break hit result to casting to static mesh component is what causes the issue but is there a way to only hit specific components within the blueprint rather than all static mesh components

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hi, in the below video I mentioned what I'm about to say :)
      What you could do is out of the "As Static Mesh Component" get the name for it, and check to see what it is called. That way you can do different code depending on what the static mesh is named. Hope that makes sense, let me know if you need any extra help :)
      th-cam.com/video/uVTTmGeGRwE/w-d-xo.html

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

    Hey Matt, Can you please please please make a video about the AI walk path, I mean there's navigation volume for the full level but there should be a path for ai to move and also that the navigation bound don't work on my stairs (Static mesh) and I want my ai to move on stairs too ,
    Can you do that please?
    Thank you Matt.

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

    It doesn't works.

  • @GaryParkin
    @GaryParkin 3 ปีที่แล้ว

    Matt, thank you for another tutorial. How do I know what drawer I'm looking at? I thought of UI messages but what if you have more then one thing ion an area.
    I play a lot of games where the thing you are seeing or working on has a highlight on the edges. How is this done? I know we can do it with the whole piece glowing.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hi Gary, if you know how to highlight the whole object, would this method also work on individual static meshes? If so, that would work since each drawer is a different mesh. I can maybe look into a video on that :)

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

      @@MattAspland It's weird because it's not the whole object that they highlight. Just the edges. I'm going to mess with it and see what I can come up with.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      @@GaryParkin Okay great, let me know how it goes and I'll probably look into it too soon :)

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

      @@MattAspland I'd love one, thank you.

  • @stefanleroux8750
    @stefanleroux8750 3 ปีที่แล้ว

    Thank you for this. Much appreciated. Just one question if I may? How can you do this wile still in third person mode? Is that even possible? Sorry for being a pain. 😂.

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

      Process should be the same. Just a line trace from the camera to the object. Just cast to a third person character instead of first.

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

      @@grixxy_666 Thank you for reply. Will do that.. 👍👍

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

      Hi, sorry for the late response, and yeah the concept for third person is the same, just make sure you use the third person camera not the first. It will work better in first person, but still work in third. If you have any troubles with this let me know :)
      And don’t worry, you’re not being a pain haha

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

    Hey friend! Can you send me the model of the Dresses in .FBX? I couldn't convert ;-; Thanks

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

      Hey, of course I can. Here it is, good luck with your game! :)
      drive.google.com/drive/folders/1cWIMFc6doVtp4HPGCAVtLOpsvAoBVVnn?usp=sharing

    • @slkkfelipe
      @slkkfelipe 3 ปีที่แล้ว +3

      @@MattAspland Thxxx!!

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

      @@MattAspland Thank you so much. When i exported it from Blender i had like 30 Meshes the drawer was assemlbed of

  • @gothicanimeangel96
    @gothicanimeangel96 3 ปีที่แล้ว

    Thanks for the clear tutorial! Managed to do something similar with boxes as static meshes, but can't really get a hang of how to best import the dresser once it's imported to fbx. I'm either getting one solid dresser, or pretty much every component (15 something, maybe?)

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

      When you go to Blender you need to combine just the drawer handle, the face of the drawer and the drawer itself into one mesh. Do that for each of the drawers and make sure their origin is at the same location as the base dressers. Then select all and export as fbx.

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

      @@megtwin so I don't have to combine it into one single mesh

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

      @@Peacemotiv no

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

      @@megtwin How do I combine it

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

      @@Peacemotiv Select the drawer handle, the face of the drawer and the drawer itself and hit ctrl J. make sure their origin is at the same location as the base dressers. If its not, place the 3dcursor on the base dresser select the combined drawer go to Object tab, select origin and select at 3d cursor.

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

    Is this tutorial the same for ue5

  • @TechnoReverseChannel
    @TechnoReverseChannel 3 ปีที่แล้ว

    can you add a link to a file with the static meshes instead of the blender file?

  • @TechnoReverseChannel
    @TechnoReverseChannel 3 ปีที่แล้ว

    the download is for a blender file and im not sure how to export each drawer individually. Ahhhh

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

    hi I was following this tutorial and I don't know if I did something wrong but when I press compile I'm getting this warning: 'First Person Character' does not inherit from 'player controler' cast to first person character would always fail, any feedback on this please thanks.

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

      For future viewers, the incorrect camera was targeted here. Go to the character blueprint and see the name of the camera assigned to the Blueprint.

  • @diabloo-666
    @diabloo-666 3 ปีที่แล้ว

    I am really sorry but does your blueprint works with another drawer model?

    •  3 ปีที่แล้ว

      @@pgWave. So you can't get it to work, check in BeginPLay if your "Get player controller is connected to Player controller instead of Target". Sometimes people get the wrong way. It happens.

  • @megtwin
    @megtwin 3 ปีที่แล้ว

    Hi I'm using v4.26.2 and for some reason the drawer does not close on the 2nd press? Any ideas?

    •  3 ปีที่แล้ว +1

      Check if the timeline its correct. Sometimes its the numbers.

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

    i cant find get fpp but i will hopefully

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hi mate, "FPP" is just what I have named my camera. For you this is whatever you have named it, by default it will probably be "Follow Camera"

  • @adityaputra2638
    @adityaputra2638 3 ปีที่แล้ว

    I don't know what happened but it's not work for me, i belive i already follow all step

  • @madisonwentz1961
    @madisonwentz1961 3 ปีที่แล้ว

    UE4 is telling me .blend is unrecognized. Any setting I am missing for importing said file type?

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

      you cant import a .blend file....

  • @rowel9785
    @rowel9785 3 ปีที่แล้ว

    How did you use only one timeline? wouldn't that stop the previous drawer's interpolation.
    Sorry, I just skimmed through it. I already have my own method. just checking how others would do it.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      Hey, I used a Boolean called "CanOpen?". So I set it to be false when we were opening a drawer, this meant that you couldn't open more than one at any given time. Otherwise yeah you'd be correct, it would mess up with each interpolation. And given the speed I set to open them, you wouldn't notice not being able to open it while another one was opening.

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

      @@MattAspland Thanks for the reply. Oh that makes alot of sense, I thought you were doing some kind of black magic to only have one timeline lol.

    • @MattAspland
      @MattAspland  3 ปีที่แล้ว

      ​@@rowel9785 Ha unfortunately not no lol. That would definitely make it more interesting lol. No worries though, best of luck with your projects :)

  • @loner4325
    @loner4325 3 ปีที่แล้ว

    hi bro! nice tutorial , but i have a problem .when i try to compile i get this : 'Static Mesh Component' does not inherit from 'Actor' ( Cast To StaticMeshComponent would always fail).

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

      Hey, it sounds like in your cast to static mesh component, you put the object into "Hit Actor" from the break hit from the linetrace, it should be going into the "Hit Component". Hope this helps :)

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

      @@MattAspland Yeah that was the problem . Thank you !!!

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

      @@loner4325 No problem, happy to help :)

  • @ogusribeiro
    @ogusribeiro 3 ปีที่แล้ว

    How can i learn to do blueprints from the beginning so well like this? Any tip, please? :(

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

      Hey, I learned by just getting into the engine and playing about with it to see what everything did. But following tutorials like you are is a great way to learn. It also takes time though, don't expect it to happen overnight, it's a lot of hard work and dedication, but don't get put off from the hardships, that's where you learn the most. Best of luck with your learning! :)

    • @ogusribeiro
      @ogusribeiro 3 ปีที่แล้ว

      @@MattAspland Thank you sooo much for your nice words and for taking the time to answer me. It's means a lot, i will remember that!!
      Btw, +1 subscriber.

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

      @@ogusribeiro No problem, always happy to help when I can :)
      And thank you so much!

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

    These tutorial are no sense.. My drawer doesn't move of one inch but I can move doors and notes around the map because it creates problems for my Blueprint Interface

  • @TV-mb4wf
    @TV-mb4wf 3 ปีที่แล้ว

    Спасибо тебе

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

      нет проблем :)

  • @memes_are_smexy362
    @memes_are_smexy362 3 ปีที่แล้ว

    It doesn't work for some reason and iv’e done everything right do you know how to fix it

    •  3 ปีที่แล้ว +2

      So you can't get it to work, check in BeginPLay if your "Get player controller is connected to Player controller instead of Target". Sometimes people get the wrong way. It happens.

    • @memes_are_smexy362
      @memes_are_smexy362 3 ปีที่แล้ว

      @ thx man i gave up on the project and now im making a CAR game cup every time i make a press e to interact with shit it just does’nt work is that the same problem?

    •  3 ปีที่แล้ว

      @@memes_are_smexy362 "shit"? Hahahahahah. Maybe, If you are in other blueprint don't being third person.. then you need do that.

  • @ty_teynium
    @ty_teynium 3 ปีที่แล้ว

    Good; I was afraid I'd have to add a bone to each piece of the drawer individually and animate it and create a montage and then a blueprint and yadda yadda ...

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

      Yeah this definitely a much easier and more efficient way of doing it. Glad you found it helpful then :)

  • @kirichnererwin1062
    @kirichnererwin1062 3 ปีที่แล้ว

    My linetrace doesn't interact with any objects, the branch is always false for whatever reason could anyone help?

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

      and if it does, it moves the drawer to a position in the world

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

      Hey, have you made sure that in the "Make Array" for the line trace, you have "WorldDynamic" and that your drawers are "Movable"? If you select them you can see this on the right. Also that the dresser itself is "Static".

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

      @@MattAspland Yes and thanks, the problem was that I was setting the relative location and not the world location, just a dumb mistake

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

      Ah right okay, easy mistake to make though. Glad you got it solved though :)

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

    11:32

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

    blendswap is down

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

    But... If you click other objects... if that objects have static mesh component, it will be fired xd

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

    Heya! Great tutorial, yet when I am trying to move more then one drawer, the animation becomes snappy; unlike the first one that works just fine.

  • @c4rb0n46
    @c4rb0n46 3 ปีที่แล้ว

    I am late 😔

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

    10:35