Attaching Item to Socket

Ok. I’ve been similar questions, but none of the answers worked for me. I’ve been stuck on this for about 10 hours now and had to post this question.

I have an item in the world for the player to pickup. When the item is picked up it goes into their inventory. The user can then click on the item in the inventory widget which fires an OnUsed event. This is where I am running into problems, The event fires correctly and in my BP_Pickup_Axe blueprint class I am trying to attach the picked up item’s mesh into the players hand where I created a socket named weapon. I’ve tried countless versions of this same blueprint and half the time nothing at all happened. I am now able to see the weapon in the users hand, but my character is now glitched. The character is thrown into the air and a lot of other issues when the user is back on ground.

What am I doing wrong here?

Ok. I finally got it working. I needed to Set Actor Enable Collision to false after attaching the item.

The character is thrown into the air

that sounds like a collision issue. try disabling the collision on the axe when its spawned.

you may also want to try a cast to the characters class before getting the mesh, its probably not needed but its something to check out. it should try to get the socket and if the character doesnt have one then just attach at the character origin but who knows sometimes.