Set the friction of this shape.

cpShapeSetFriction(shape, friction)

Arguments

shape

[cpShape *]

friction

[cpFloat]

Details

C function prototype: CP_EXPORT void cpShapeSetFriction(cpShape *shape, cpFloat friction);