About RaycastParams

Can you filter out objects by their class with RaycastParams? If so, how?

I don’t think that you can filter by class, probably best way is either put the objects in folders and use a blacklist/whitelist based on that, or set collision groups and use them.

Yeah, you see, I just figured it out, and all of that is too much labor, so I just decide to do a recursive function.