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

Script language

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

JointSuspension2D

struct in UnityEngine

Description

Joint suspension is used to define how suspension works on a WheelJoint2D.

See Also: WheelJoint2D class.

Variables

angleThe world angle (in degrees) along which the suspension will move.
dampingRatioThe amount by which the suspension spring force is reduced in proportion to the movement speed.
frequencyThe frequency at which the suspension spring oscillates.