How to get the Closest interact between to actor?

How can I do to get the closest interact between the caracter and other two actor? I try with a simple interact system which allows the player to interact with actors through their collisionspheres but it doesn’t work well so I need an interaction system based on the skeletal mesh distance. Can anyone help me?

yeah, but I need, if possible, a system that finds the nearest pickup when the player walks near it so I don’t need the camera’s field of view

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/#shapetraces

:slight_smile:

You can do multitrace shape traces too :V

I solved the problem without traces: i used a capsule witch detects any pickup that collides with it and sets the nearest as best pickup. Then if the best pickup changes, it unfocus the old and focus the new