Page 1 of 1

Joints

Posted: Fri Dec 21, 2012 10:01 pm
by chi
Hi, I'm interested in creating a ragdoll type game, and I'm trying to understand how the different types of joints work.

I went through all the joints and seems like resoluteJoint was the one I need. The thing is, I'm not sure how it works.

I downloaded one tutorial, and played with the code. While I did manage to create a joint between two objects, I have no idea how it works. I wanted to creating something that moves like an arm. But what I ended up coding didn't have the two parts connected, and their movements when they get close together gets a bit weird.

Can someone explain how the revoluteJoint works? The x, y parameters passed into to create a new revolute joint, where exactly are they referencing?