JointSpring Struct

JointSpring is used add a spring force to HingeJoint and PhysicMaterial.

Variables
spring

The spring forces used to reach the target position

damper

The damper force uses to dampen the spring

targetPosition

The target position the joint attempts to reach.