Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

JointSuspension2D.frequency

public float frequency;

Description

The frequency at which the suspension spring oscillates.

The suspension spring will oscillate with a certain frequency as forces are added and removed from it. A damping ratio can be set to cause this oscillation to die down over time.

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