PolygonShape:getPoints
Get the local coordinates of the polygon's vertices.
This function has a variable number of return values. It can be used in a nested fashion with love.graphics.polygon. Function Synopsis x1, y1, x2, y2, ... x8, y8 = PolygonShape:getPoints( ) Arguments None. Returns number x1 The x-component of the first vertex. number y1 The y-component of the first vertex. number x2 The x-component of the second vertex. number y2 The y-component of the second vertex.
And so on,