Set the elasticity of this shape.

cpShapeSetElasticity(shape, elasticity)

Arguments

shape

[cpShape *]

elasticity

[cpFloat]

Details

C function prototype: CP_EXPORT void cpShapeSetElasticity(cpShape *shape, cpFloat elasticity);