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.

JointSuspension2D

struct in UnityEngine

Description

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

See Also: WheelJoint2D class.

Properties

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.

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