Collider:removeShape

Removes a Shape from the Collider.

Collider:removeShape(shape)

Arguments

NameTypeDescription
shapeShapeThe Shape to remove.

Returns

Nothing

Notes

Colliders without any shapes won't collide with anything.

See also