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.
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_
@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
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!
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.
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
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..
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
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.
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!
If you'd like to see a part 2 let me know!
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.
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_
@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
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
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!
@@MrKnowBodyUE5 Thank you very much!
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.
Thanks for the support!
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
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..
no, i am using other character because i found a map with him in it. But thanks for help and nice work@@MrKnowBodyUE5
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.
good hint
@@MrKnowBodyUE5
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✌
I’m not sure, join the discord server so I can take a closer look
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
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
@@MrKnowBodyUE5 I will try it soon and leave update, thanks for the reply 👍
No problem!
Part 2 with throw and place item
What do you mean by “throw” as in like a grenade or drop an item from your inventory?
@@MrKnowBodyUE5 Drop the object in front of me :)
(the one in my hand)
@@Slev69 I'll Do a video on it soon!
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.
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!