[Solved] CollisionGroups causing issues with Raycast

I recently made a collisiongroup for the character’s torso in my game, here’s what it looks like:

However, it made raycasts ignore the torso completely. Here’s a video showcasing the issue (you can even see the bullets & laser dot ignoring the torso and hitting other limbs):

External Media

Any help is appreciated.

That could be because raycast is a part of the default collision group? :slight_smile:

1 Like

Oh, that was really silly. I didn’t know raycast params would use collision groups to raycast, it works perfectly now. Thanks.

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