Set the body on the Game Object to a polygon shape.
Calling this methods resets previous properties you may have set on the body, including plugins, mass, friction, etc. So be sure to re-apply these in the options object if needed.
The "radius" of the polygon, i.e. the distance from its center to any vertex. This is also the radius of its circumcircle.
The number of sides the polygon will have.
An optional Body configuration object that is used to set initial Body properties on creation.
This Game Object.