What is using equation for SpringJoint solver?
I'm creating physics pazzles with SpringJoint.
I cannot find a solver equation for SpringJoint.
I guess Unity SpringJoint is using a Hock's law, but It's not same resulting.
I've tried to use SpringJoint below.
Create a SpringJoint as anchor. Parameters are:
Spring = 1000
Damper = 50
And I attached a Rigidbody to it with IsKinematic is true.
Create a box object with Rigidbody. parameters are:
Mass = 10
I've calculated as Hock's law,
F = -kx
10[Kg] * 9.8[m/s^2] = -1000[N/m] * x[m]
x = 0.0908[m]
But the result is 0.117...
. It's not same.
It is wrong? or Unity has other equation for the spring?
Possibly the damper is affecting the outcome since Hooke's law does not take into account dampening. Try changing the damper to 0 and calculate it again.
Oh...! I see! Thank you so much!! I think that it's correctly. I'll try it!!
Your answer
Follow this Question
Related Questions
2D kinematics 1 Answer
Calculating laser energy 1 Answer
Stabilize physics results? 2 Answers
Trying to get perfect jumps with Character. 0 Answers
Configurable Joint putting space between anchor and body. 0 Answers