Creating a Weapon Pickup System

Hi all, I am new to the engine and C++ as well. I am trying to create an item system similar to what you see in PUBG or Fortnite. Simply put, I want to be able to have my character pickup a weapon that is lying on the ground. What I have been able to do so far is create a static mesh on my character and snap that into a socket which I have called WeaponSocket. I am not sure what to do next and can’t find any good tutorials on this. Any help is greatly appreciated. I would like any answers to be in C++ and the Gun’s mesh to be of the Static Mesh type. Also my characters mesh is a Skeletal Mesh simply called Mesh. Again, thank you :slight_smile:

Don’t expect people to write code for you here :stuck_out_tongue: So what you got so far you got UI? You missing equip system or something?

Sorry I am new to using forums. After looking over my code I think that all that I really need is a reference to the Skeletal Mesh of my player. Is there a way to do that?

There’s a ton of good tutorials on this:

Auto Pickup via Overlap

Triggered Pickup via Overlap


Skyrim’ish pickup system

Basically every Inventory Tutorial also includes Item Pickups in different manners. Either by running over them or using Interaction functionality triggered by User input (either due to overlap, or using Raycasts)

Thanks for the help :slight_smile: