love.physics.newPolygonShape
Creates a new PolygonShape.

This shape can have 8 vertices at most, and must form a convex shape.
shape = love.physics.newPolygonShape( x1, y1, x2, y2, x3, y3, ... )
x1 number The x position of the first point.
y1 number The y position of the first point.
x2 number The x position of the second point.
y2 number The y position of the second point.
x3 number The x position of the third point.
y3 number The y position of the third point.
... number You can continue passing more point positions to create the PolygonShape.
shape PolygonShape A new PolygonShape.
shape = love.physics.newPolygonShape( vertices )
vertices table A list of vertices to construct the polygon, in the form of {x1, y1, x2, y2, x3, y3, ...}.
shape PolygonShape A new PolygonShape.