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.

HingeJoint.useMotor

Switch to Manual
public bool useMotor;

Description

Enables the joint's motor. Disabled by default.

See Also: JointMotor

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: