create Polygon Shape
Create a polygon shape and attach it to this body.
Return
The created shape
Parameters
def
The shape definition (density, friction, etc.)
polygon
The polygon geometry
Create a polygon shape and attach it to this body.
The created shape
The shape definition (density, friction, etc.)
The polygon geometry