var freeSpin : bool
Description
If freeSpin is enabled the motor will only accelerate but never slow down.
hingeJoint.motor.freeSpin =
false;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
hingeJoint.motor.freeSpin =
false;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
hingeJoint.motor.freeSpin =
false