Collider:addShape

Edit

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

Collider:addShape(shape)

Arguments

NameTypeDescription
shapeShape The Shape to attach.

Returns

Nothing

See also