Physics2DServerDampedStringParam Enumeration |
[Missing <summary> documentation for "T:Godot.Physics2DServer.DampedStringParam"]
Namespace: Godot
public enum DampedStringParam
Member name | Value | Description | |
---|---|---|---|
RestLength | 0 | Sets the resting length of the spring joint. The joint will always try to go to back this length when pulled apart. | |
Stiffness | 1 | Sets the stiffness of the spring joint. The joint applies a force equal to the stiffness times the distance from its resting length. | |
Damping | 2 | Sets 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). |