Set the mass of this shape to have Chipmunk calculate mass properties for you.

cpShapeSetMass(shape, mass)

Arguments

shape

[cpShape *]

mass

[cpFloat]

Details

C function prototype: CP_EXPORT void cpShapeSetMass(cpShape *shape, cpFloat mass);