Collider:destroy
EditDestroy 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
World:destroy
Shape:destroy
Joint:destroy
Collider