Physics2DServerSingleton.DampedStringParam

Values

ValueMeaning
dampedStringRestLength0

Set the resting length of the spring joint. The joint will always try to go to back this length when pulled apart.

dampedStringStiffness1

Set the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length.

dampedStringDamping2

Set the damping ratio of the spring joint. A value of 0 indicates an undamped spring, while 1 causes the system to reach equilibrium as fast as possible (critical damping).

Meta