Fastcast Accessory Piercing

Hi. I’m trying to make a gun by using a FastCast module but I got one issue. I want the raycast pierce through the accessories except terminating itself as soon as it hits the accessory. I tried checking if the part that was hit is parented to the accessory but it seems to don’t work.

Here’s a model that I used for my gun:

1 Like

You can use CanQuery = false or physics service to pierce through accessories.