Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

var frequency: float;
float frequency;
frequency as float

Description

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

The spring will oscillate with a certain frequency as it attempts to reestablish the desired distance between the objects. A damping ratio can be set to cause this oscillation to die down over time.

See Also: dampingRatio.