Joints

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
chi
Prole
Posts: 3
Joined: Sat Dec 15, 2012 5:45 pm

Joints

Post 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?
Attachments
main.love
(1.48 KiB) Downloaded 93 times
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Yolwoocle and 62 guests