dampingRatio
The amount by which the spring force is reduced in proportion to the movement speed.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float dampingRatio { get; set; }
Remarks
The spring will oscillate with a certain frequency as it attempts to reestablish the desired distance between the objects. The higher the damping ratio, the quicker the oscillation will die down to zero.
Additional Resources: SpringJoint2D.frequency.