Click or drag to resize

Physics2DServerDampedStringParam Enumeration

[Missing <summary> documentation for "T:Godot.Physics2DServer.DampedStringParam"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum DampedStringParam
Members
  Member nameValueDescription
RestLength0

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

Stiffness1

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

Damping2

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).

See Also