Collision groups
collisionControl collisions between specific part groups in Roblox Studio. Create groups, assign parts, and set collidable to allow pass-through without affecting other collisions.
Instructions
Controls which parts physically collide with which.
This is the right answer to 'these should pass through each other'. The alternative — turning CanCollide off — disables collision against everything, so a ghost that should pass through walls also falls through the floor.
The order is: create a group, assign parts to it, then set what it is collidable with. A group with nothing assigned does nothing.
Assigning a Model assigns every part inside it, which is almost always what is meant.
Groups are not undoable and not scoped to a session: remove when one was created to try something and is no longer wanted, rather than leaving it registered in the place indefinitely. The built-in "Default" group cannot be removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| with | No | collidable only: the other group. | |
| group | No | The group's name. Required for everything but list. | |
| paths | No | assign only: parts or models to put in the group. | |
| action | No | 'list' shows existing groups and changes nothing. 'remove' unregisters a group entirely — not the same as un-assigning parts from it. | list |
| studioId | No | Target Studio; omit for the active one. | |
| collidable | No | collidable only: whether the two groups collide. False makes them pass through. |