Functional Expressions to use for Spring Forces
In these expressions:
K is the Linear Spring Constant.
KT is the Torsional Spring Constant.
X is the current distance between parts at the attachment points.
Theta is the current angle between the parts, about the user-defined spring axis.
Xo defines the reference length for the spring. If the reference force of the spring is zero, Xo is the free length.
Thetao defines the reference angle for the torsional spring. If the reference torque of the spring is zero, Thetao is the free angle.
Fo specifies the reference force at Xo.
To specifies the reference torque of the torsional spring at Thetao.
n is the Exponent. For example, if spring force = kx2, then n = 2. Valid options are <-4,-3,-2,-1,1,2,3,4>.