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.