Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: roach_779 on March 16, 2013, 07:17:56 PM
-
Hi
I have an object with a spring joint constrained to a pivot. I am able to grab the object with a mouse, let go and object would spring back-and-forth until it stops. What I want is to put a distance constraint. When I grab the object and KEEP pulling back, once set distance is reached, I want the object to automatically let go.
Thanks.
-
hi,
I guess one way would be to monitor the distance and delete the spring when you detect a max out.
have you tried that?
bye,
Jean
-
Thanks for the info. I want my object to spring back (with physics) to original position. I tried containing the object in box with reverse normal and rigidbody, but for some reason the object slips right through. Still no solution.
-
Hi,
what technic do you use to control the spring? is it something you picked on this forum?
bye,
Jean
-
spring done by spring joint
using action called followMouse I in the forum
http://hutonggames.com/playmakerforum/index.php?topic=2509.0
-
Hi,
then try to work from this solution instead:
http://hutonggames.com/playmakerforum/index.php?topic=1286.msg7149#msg7149
bye,
Jean
-
thanks..ill try it!