Distance Joint and Pivot Joints not working great

Hi all,

I am having some issues with both pivot joints and distance joints. I am creating a rag doll which I use to connect with pivot joints. I then have a object that needs to connect to the left arm of the rag doll. I am using a distance joint to do this. This is all working great until i load it up onto my phone where the object that connects to the left arm is controlled by the accelerometer. At this point if you move the object the left arm pivot joint disconnects from the body for a short period of time and then reconects when you stop moving the object. Also the distance joint between the object and the left arm grows longer and then returns to it expected length.

I would greatly appreciate any help with this problem. I have been trying to make it work for a good 3 weeks. If you need any of the code I am using to see what is going on just let me know.

Thanks,
Chris Brasino [import]uid: 126017 topic_id: 34973 reply_id: 334973[/import]

Have you tried turning continuous collision detection off?

physics.setContinuous(false)

As per this thread: http://developer.coronalabs.com/forum/2010/10/30/pivot-joints-and-apparent-elasticity?page=2#comment-119284

That may help with the pivot joint.

As for the distance joint, try playing with the frequency (if you haven’t already). [import]uid: 154346 topic_id: 34973 reply_id: 144502[/import]

Have you tried turning continuous collision detection off?

physics.setContinuous(false)

As per this thread: http://developer.coronalabs.com/forum/2010/10/30/pivot-joints-and-apparent-elasticity?page=2#comment-119284

That may help with the pivot joint.

As for the distance joint, try playing with the frequency (if you haven’t already). [import]uid: 154346 topic_id: 34973 reply_id: 144502[/import]

Have you tried turning continuous collision detection off?

physics.setContinuous(false)

As per this thread: http://developer.coronalabs.com/forum/2010/10/30/pivot-joints-and-apparent-elasticity?page=2#comment-119284

That may help with the pivot joint.

As for the distance joint, try playing with the frequency (if you haven’t already). [import]uid: 154346 topic_id: 34973 reply_id: 144502[/import]

Have you tried turning continuous collision detection off?

physics.setContinuous(false)

As per this thread: http://developer.coronalabs.com/forum/2010/10/30/pivot-joints-and-apparent-elasticity?page=2#comment-119284

That may help with the pivot joint.

As for the distance joint, try playing with the frequency (if you haven’t already). [import]uid: 154346 topic_id: 34973 reply_id: 144502[/import]