ChipmunkShape
Chipmunk line segment collision shape type.
Can be given a radius to make it shaped like a capsule.
center | Center of the segment relative to its transform. |
endPoint | Location of the first endpoint of the segment shape relative to its transform. |
radius | Radius of the segment relative to its transform. |
body | ChipmunkBody that this shape is attached to. |
friction | Friction value of this shape. |
elasticity | Elasticity of this shapes |
isSensor | Indicates if the shape is a sensor. |
collisionType | String identifier that that is used for collision events. |
group | String that identifies the group a collision shape is in. |
layers | A bitmask of which Chipmunk layers a shape is in. |
surfaceVelocity | The velocity of the surface of a shape separate from its rigid body's velocity. |