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

Script language

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

HingeJoint.useSpring

Switch to Manual
public var useSpring: bool;

Description

Enables the joint's spring. Disabled by default.

See Also: JointSpring

Enabling the motor overrides the spring, given the spring was enabled. If the motor is again disabled the spring will be restored.

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