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.

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.

See Also: dampingRatio.

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