Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


dampingRatio

The amount by which the target spring force is reduced in proportion to the movement speed.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float dampingRatio { get; set; }

Remarks

The target spring will oscillate with a certain frequency as it attempts to reestablish the target position. The higher the damping ratio, the quicker the oscillation will die down to zero.
Additional Resources: _frequency