Collider:addShape
EditAttaches a Shape to the collider. Attached shapes will collide with other shapes in the world.
Collider:addShape(shape)
Arguments
Name | Type | Description |
shape | Shape | The Shape to attach. |
Returns
Nothing
See also
Collider:removeShape
Collider:getShapes
Shape
Collider