Collider:setTag
EditSets the Collider's tag.
Collider:setTag(tag)
Arguments
Name | Type | Description |
tag | string | The Collider's collision tag. |
Returns
Nothing
Notes
Collision between tags can be enabled and disabled using World:enableCollisionBetween
and World:disableCollisionBetween
.
See also
World:disableCollisionBetween
World:enableCollisionBetween
World:isCollisionEnabledBetween
lovr.physics.newWorld
Collider:getTag
Collider