Returns a Polygon collision shape object
Parameter | Type | Description |
---|---|---|
points | [Point] | points of the Polygon. Can be made up of Points, arrays setup like: [x, y], or a combination. |
set Polygon points. Can be made up of Points, arrays setup like: [x, y], or a combination.
[Point]
points of the polygon