How to pickup weapons?

Hey,
My last project corrupted for no apparent reason, so i’m having to start from the ground up but i’m already having issues…how do i pickup my weapon. I have an M4A1 class and when I linetrace to it, it won’t attach to my mesh it just sits on the ground… any suggestions?

LineTrace gives you a reference to the weapon. I suggest watching a tutorial to relearn how properly manage attaching components to your skeletal mesh from a trace.

Unreal Engine 4 Tutorial - Equipping and Unequpping a Weapon