JointSpring.spring

var spring : float

Description

The spring forces used to reach the target position

JavaScript
hingeJoint.spring.spring = 10;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
hingeJoint.spring.spring = 10;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
hingeJoint.spring.spring = 10