Getting skeletal mesh of an actor in an array.

for the player to be able to pick up weapons, now these weapons get added to an array which is a variable in the player bp and I want to be able to retrieve the skeletal meshes of these weapons in the array.

when the player overlaps them, I could use a collision that I can create in the actor bp

The player’s capsule can overlap the items, or you can add another (larger?) component that will scoop things up.

  • in the player:

The player overlaps an item and adds it to their array. Whether you use an interface does not really matter here. But can be super useful as a method of filtering and triggering other stuff, ofc. The interface can return the item.