Manual:

Tutorials:

API:

ChipmunkPolygonShape

Class : Inherits from ChipmunkShape

Chipmunk convex polygon collision shape type.


Variables


vertsThe vertexes of the polygon shape.
hullVertexes of the convex hull of the polygon.
radiusBeveling radius of a polygon shape relative to it's transform.


Inherited Variables


bodyChipmunkBody that this shape is attached to.
frictionFriction value of this shape.
elasticityElasticity of this shapes
isSensorIs the shape a sensor.
collisionTypeCollision ID string used when defining @ChipmunkCollisionManager@ methods.
groupString that identifies the group a collision shape is in.