|
The spring forces used to reach the target position
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