Collider:addShape

Attaches a Shape to the collider. Attached shapes will collide with other shapes in the world.

Collider:addShape(shape)

Arguments

NameTypeDescription
shapeShapeThe Shape to attach.

Returns

Nothing

See also