Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TargetJoint2D.dampingRatio

Switch to Manual
public float dampingRatio;

Description

The amount by which the target spring force is reduced in proportion to the movement speed.

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.

See Also: frequency.

Did you find this page useful? Please give it a rating: