Collider:removeShape

Edit

Removes a Shape from the Collider.

Collider:removeShape(shape)

Arguments

NameTypeDescription
shapeShape The Shape to remove.

Returns

Nothing

Notes

Colliders without any shapes won't collide with anything.

See also