R/cpShape.R
cpShapeSetMass.Rd
Set 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);