WorldModel raycasts and spatial queries do not respect CollisionGroups

Collision groups are not respected when using raycasts, getpartboundsinbox, etc under a WorldModel. The provided repro performs a raycast on the WorldModel between two parts, with the expectation that the raycast would not hit the part because of the collision groups. If it does hit a part, a red line is drawn.

repro.rbxl (61.4 KB)

Expected behavior

I expect raycasts and spatial queries on WorldModels to respect the provided CollisionGroup from their params.

1 Like

Hi, thanks for reporting the issue! Itโ€™s expected behavior because we donโ€™t support per worldmodel collision groups. Supporting per world model collision group is a new feature on our todo list and we will make an anoucement when itโ€™s ready. Thank you!

2 Likes