Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

FixedJoint2D.frequency

Switch to Manual
public float frequency;

Description

The frequency at which the spring oscillates around the distance between the objects.

The spring will oscillate with a certain frequency as it attempts to bring the two anchor points of the objects together. A dampingRatio' can be set to cause this oscillation to die down over time.

Additional resources: dampingRatio.