I need my line trace to detect Multiple walls and hide all the walls that have been detected

Ok, first of all, let’s sort out the fan trace. This is a good way to do it

It should line up with your actor forward vector

fan

Then, you can just use two arrays, like this

And you get

viz

You can’t walk through that gap, though. You would need to fiddle with custom collision settings for that. Also, one mesh can block you from hiding another, even when its hidden. Same problem.

1 Like