I need some small help with RayParams

Hello,

This isn’t much of a ‘Code error’, but I’m wondering what happens if you have values for both FilterDescendantsInstances and CollisionGroup, does it do anything? Are there any examples of what I could use it for?

1 Like

I’d assume that both rules would apply, since that’s the sensible thing for it to do.

E.g. if you use CollisionGroup and Whitelist, only parts that BOTH collide with the group AND are in the list can be hit.

If you use CollisionGroup and Blacklist, parts that don’t collide with the group OR are in the list will be ignored.

1 Like

Oh I see, that’s pretty helpful. Thanks!

1 Like