This project has moved and is read-only. For the latest updates, please go here.

Drag body with the mouse, without springiness ?

Topics: Developer Forum
Dec 17, 2009 at 7:21 PM
Edited Dec 17, 2009 at 7:22 PM

Hello everyone.

I'm trying to drag an body with the mouse, but I don't want a spring behavior, like in the demos.
I want the object to follow the mouse very closely and without springiness, but still be able to rotate.
I tried using another invisible body attached with a RevoluteJoint and moving that,
but that still has a little bit of spring to it, and the dragged body lags behind the mouse a bit.

Any ideas ?




Dec 17, 2009 at 9:56 PM

ok, found the solution,


makes it nice and stiff :)