World:enableCollisionBetween
EditEnables collision between two tags. Use Collider:setTag to set a Collider's tag.
World:enableCollisionBetween(tag1, tag2)Arguments
| Name | Type | Description |
| tag1 | string | The first tag. |
| tag2 | string | The second tag. |
Returns
Nothing
Notes
By default, collision is enabled between all tags.
Tags can be marked as "static" when the world is created, as an optimization hint. Static tags will never collide with other static tags, regardless of whether collision is enabled between them.