Picking Up Items With a Line Trace

Thank you Mhousse for your solution. This was actually quite simple to implement by following your BP screenshots.
I had a pickup system but it relied on capsule overlaps instead of a line trace. That actually worked great (A thin capsule protruding from the camera represented a line trace) BUT all pickup items overlapping the pickup capsule would be picked up instead of one item at a time which caused other issues.

I was easily able to implement this line trace into my pickup system and it works great for multiple objects, however I simplified it a little.

Instead of using the “item reference nodes” and the “isvalid” nodes I simply used the “Does Implement Interface” node connected to a Branch and plugged the pickup item message to the hit actor node on the break hit result.

I don’t need the pop up name widget for now, but it could be added to this in a similar way. The extra wires going off the right side of the screen are simply for other stuff and aren’t needed for the pickup line trace.

This works as scripted as long as you have the interface and proper event on the pickup item.