Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkBoxShape

Class : Inherits from ChipmunkShape

Chipmunk box collision shape type.


Variables


centerCenter of the box relative to its transform.
sizeDimensions of the box relative to its transform.
radiusBeveling radius of a box 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.