Ammo crate

Hey there, you need to do a trace on the player to find what objects the player is looking at, if you find a hit and that hit is a pickup object then you call a OnPickedUp function to add ammo and destroy the pickup actor.