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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答