Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

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 its transform.


Inherited Variables


bodyChipmunkBody that this shape is attached to.
frictionFriction value of this shape.
elasticityElasticity of this shapes
isSensorIndicates if the shape is a sensor.
collisionTypeString identifier that that is used for collision events.
groupString that identifies the group a collision shape is in.
layersA bitmask of which Chipmunk layers a shape is in.
surfaceVelocityThe velocity of the surface of a shape separate from its rigid body's velocity.