Set the damping of the spring.
cpDampedSpringSetDamping(constraint, damping)
Arguments
constraint |
[cpConstraint * ] |
damping |
[cpFloat ] |
Details
C function prototype: CP_EXPORT void cpDampedSpringSetDamping(cpConstraint *constraint, cpFloat damping);