Version: 2017.3
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.