How do I move a spring object to a point without it trying to jump back?

Hi everybody
I have a problem where I want to move an object with a spring joint on with my finger/mouse. As long as I keep my finger on the screen and move it a distance, I want the spring to move in a certain distance too.

The problem I am having, is that during the movement, the spring will constantly try to come back to its position, making it very jerky.

What I am trying to do is I have a character in the middle, if I swipe my finger to the left, the body of the character will appear to bend to the left. When I left go of my finger it should have a spring-like effect where it jumps back a bounces a bit.

I’ve searched a bit for this, but I haven’t been able to find anything that have helped me yet (thus I am writing here :slight_smile: ).

Cheers

Have you tried making the rigibody that the player is dragging be kinematic while they drag it, and then revert to non-kinematic when they stop dragging?

Ah thanks, I think that will work :slight_smile: