FindPartOnRayWithWhitelist does not work with CollisionGroups

  • Describe the bug. Describe what is happening when the bug occurs. Describe what you would normally expect to occur.

I have a model that is part of a CollisionGroup. FindPartOnRayWithWhitelist(), given the children of the model as the whitelist, does not return any parts from the model when used with a ray that intersects the model’s parts.
If I don’t put the parts in a collision group, the function works as advertised.

  • How often does the bug happen (Everytime/sometimes/rarely)? What are the steps that reproduce the bug? Please list them in very high detail. Provide simple example places that exhibit the bug and provide description of what you believe should be the behavior.

This happens always.
To reproduce, create a model and place its parts in a CollisionGroup. Then use FindPartOnRayWithWhitelist() with the model’s children as the whitelist. The function will not return an intersected part.

  • Where does the bug happen (www, gametest, etc) Is it level-specific? Is it game specific? Please post a link to the place that exhibits the issue.

This is not place-specific.

1 Like

This is a duplicate of:

1 Like

A post was merged into an existing topic: A part belonging to a collision group can cannot collide with Default cannot be hit by raycasts