R/cpShape.R
cpShapeSetMass.RdSet the mass of this shape to have Chipmunk calculate mass properties for you.
cpShapeSetMass(shape, mass)
| shape | [ |
|---|---|
| mass | [ |
C function prototype: CP_EXPORT void cpShapeSetMass(cpShape *shape, cpFloat mass);