HingeJoint.useLimits

var useLimits : boolean

Description

Enables the joint's limits.

JavaScript
hingeJoint.useLimits = true;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
hingeJoint.useLimits = true;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
hingeJoint.useLimits = true