SetSpring
This function sets the spring value of a slider or hinge joint. A value of zero will disable the spring behavior.
Syntax
- SetSpring(number spring, number relaxation=1, number damping=0.1)
Parameters
- spring: the spring value to set.
- relaxation: the amount of "travel" the spring has.
- spring: damping value used to limit bounciness.