How do I make a raycast ignore explosion effects?

So basically I have a script that sends out a raycast.
But the raycast keeps hitting an explosion.

So how do I make it ignore the explosion?

Do I have to put it in a table so I can use it in params, or is there another way?

You can create Folder in workspace and name is like “Effects” or something, put explosion there and set RaycastParams FilterDescendantsInstances to that folder.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.