Find static mesh of an actor in front of a player

You can use a line trace to find the static mesh of the actor directly in front of the character: