JointMotor.freeSpin Manual     Reference     Scripting  
Scripting > Runtime Classes > JointMotor
JointMotor.freeSpin

var freeSpin : boolean

Description

If freeSpin is enabled the motor will only accelerate but never slow down.

JavaScript
hingeJoint.motor.freeSpin = false;