Can I make my walls immune to linetraces?

I got linetraces to destroy certain targets but it also destroys my walls. Is there a way to make my walls immune for this?

Here’s my setup for this: Snip - freesnippingtool.com_capture_20210205150448.png | ImgHostr

Yes you can. You need to specify which object you want the line trace to detect. There’s an example in the documentation that could help you with that:

Just set the object types you want to be able to destroy!

Thanks, this helped a lot.

You could make a Custom trace channel in the project setting and then make your wall ignore the trace.