Sphere Trace For Objects going through walls

Hello,

I am trying to make a lock-on camera system, similar to those in the souls games, using Sphere Trace For Objects. My problem is that the camera will still lock-on to the Pawn even if there is a wall in the way, and I can’t seem to find any way to stop the trace once it hits a wall.

Try getting the first batch of actors with the sphere trace filtering character, then do a line trace to each gathered character to the player to see if there is line of sight.

Also is it a single sphere trace or multi-sphere trace? A multi won’t stop but return an array of hits.