Pickup Items (Inventory System) │ Unreal Engine 5 Tutorial

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

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

  • @MrKnowBodyUE5
    @MrKnowBodyUE5  9 หลายเดือนก่อน +2

    If you'd like to see a part 2 let me know!

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

      I followed a tutorial on picking up and dropping an item, it would check to see if your overlapping actor and if so it would attach it to the players hand, i ran into an issue if i had more than 1 weapon on the ground it would attach all of them to my hand. Fixed this by watching another tutorial and making it a line trace instead of just overlapping actors. Watched a tutorial on sheathing and unsheathing weapons and got that to work but if i dropped an item it would drop sheathed weapons because they are overlapping my actor too, and when it dropped the item it still thinks theres an item in my sheathed slot so it breaks sheathing unsheathing lol im completely new to all of this like im a couple months in.

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

      Hmmm I’m not too sure what you mean by “it drops the sheathed weapon because it’s overlapping my character” because this shouldn’t be an issue as the dropping functionality has nothing to do with collision as it’s based on whichever the current item that the player is holding is… If you think there is something wrong with the collision from your item you should be able to turn the collision off from the item that is attached to your player bp
      Dm me on discord so I can see a video of what you mean: mrknowbody_

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

      @MrKnowBodyUE5 i added you Mr_Fuzzy, i think my drop is set up exactly how my pick up is, i think it checks for overlapping actors then dettaches it from the player, i tried to fix that by putting a collision box where the sheathed item goes and checking for overlap there instead but that didnt work

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

    Hey have you tried making this tutorial with enhanced input rather than using the E key or any such keys like that? Great video btw

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

      Yes, I believe I have a more updated version on my channel called pick-up and drop weapons or something along those lines go check it out it’s exactly what your looking for!

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

      @@MrKnowBodyUE5 Thank you very much!

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

    Like it, Subscribed
    just move straight into without Jumping ingame or other time wasting moves.
    Maybe add an Item DT should be my preferred way.
    I got a small lag Picking up the Item and dont get the mesh Appear to the Char by Pressing the Hotkey in v5.3.
    The Array in StoreItem / GetItem didnt work for me.
    I will watch the second Part too.

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

      Thanks for the support!

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

    It seems like I've done everything, but when I hit play and try to go through that particular item, there's a collision, and it doesn't show up in my inventory because I can't select r_hand

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

      Hmmm all I can say is go back through the video and make sure you’ve done everything right even down to the smallest detail because I built this system a while ago. Also are you using the default mannequin? Because that could solve your issue of not being able to select r_hand..

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

      no, i am using other character because i found a map with him in it. But thanks for help and nice work@@MrKnowBodyUE5

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

      Thanks for the support! Maybe your character doesn’t have a bone called r_hand? Check what your characters and bone is then attack the mesh to it.

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

      good hint
      @@MrKnowBodyUE5

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

    The items don't show up in my hand, what did I do wrong? The blueprints look the same no matter how many times I rewatch.
    ty in advance✌

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

      I’m not sure, join the discord server so I can take a closer look

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

    I want to make a door and key system with this, how would I tell a door that the item is in the array. Also I didnt do that hotbar system

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

      When you’re interacting with the door you should get the inventory array of the player, do a for each loop to check all inventory slots then break the array element and check of the class == the Key if true open the door if false don’t open the door

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

      @@MrKnowBodyUE5 I will try it soon and leave update, thanks for the reply 👍

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

      No problem!

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

    Part 2 with throw and place item

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

      What do you mean by “throw” as in like a grenade or drop an item from your inventory?

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

      ​@@MrKnowBodyUE5 Drop the object in front of me :)

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

      (the one in my hand)

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

      @@Slev69 I'll Do a video on it soon!

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

    there Hass to be an easier way to do this or a less complicated way. I feel like you’re moving all over the place and just not explaining the logic of what you are doing so we understand why you are doing what you are doing.

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

      Hi I’m sorry I’m new to this lol however these tutorials are meant for intermediate developers (people who already understand the basics) However I will try to explain things better in the future!