var spring : float
Description
The spring forces used to reach the target position
hingeJoint.spring.spring = 10;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
hingeJoint.spring.spring = 10;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
hingeJoint.spring.spring = 10