Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


dampingRatio

The amount by which the suspension 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 suspension spring will oscillate with a certain frequency as forces are added and removed from it. The higher the damping ratio, the quicker the oscillation will die down to zero.