Collider:destroy

Destroy the Collider, removing it from the World.

Collider:destroy()

Arguments

None

Returns

Nothing

Notes

Calling functions on the collider after destroying it is a bad idea.

See also