World:enableCollisionBetween

Enables collision between two collision tags.

World:enableCollisionBetween(tag1, tag2)

Arguments

NameTypeDescription
tag1string The first tag.
tag2string The second tag.

Returns

Nothing

Notes

Tags must be set up when creating the World, see lovr.physics.newWorld.

By default, collision is enabled between all tags.

See also