Hi all,
So when a spring joint is created on Object A attached to Object B, the distance between the two objects determines how that spring will behave.
I have a situation where Object A might move, but I want it to behave as though the spring was attached at its original position. My problem is that if I disable the gameobject the spring is re-initialized to whatever the current distance between the objects is.
is there some way to access SpringJoint.Origin? That way every time i renable my component or game object I can setup the connected body the same?
Currently I thought about moving the object back, then creating the spring, then returning the object to where it was, but I haven’t been able to get that to work.
Any ideas?