Making a dragable ragdoll

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Ragdoll physics can be hilarious in a very absurd way. I remeber Please login to see this link..

    Now I have this idea in mind to make a really funny game that requires this kind of thing. I want to be able to make walking creatures you can pick up at any limb and place anywhere on the screen or make them fall.

    Seemed simple to me at first with the powerful Physics engine. However, it's not. The more I try to get it done, the messier it becomes:

    • Through Revolute joints, the limbs are connected to the torso and the torso to the head. This does create a funny ragdoll effect when falling. All body parts movements are set to Physics - Idle
    • When I set a body part movement to Dragable, I make the connecting body part follow it, by keeping its position relative to the dragged body part. Here comes a first problem. When dragged at a fast speed, all connected parts lag behind, causing them to detach while dragging.
    • Switching between Physics - Idle and Dragable makes a total mess. Click on object to test when user wants to drag the body part, negated repeat on mouse button to test when the user no longer drags, tried to make this mechanic more solid by using flags to indicate which movement should be switched to.

    Especially while making the movement switches, I got the feeling that I'm making it more complicated than it has to be, therefore making it worse than it has to be. I doubt Tetka has much code to it.

    Does anyone have an idea how to make this in a simple way?

    Please login to see this link.
    (because you can)

  • No, I now want to make it simpler by only being able to drag the head around. The head will follow the mouse pointer as long as you click on it. The rest of the body then tries to keep up but fails (gets detached) and the gravity also pulls the body apart.

    By the way, I think it wasn't really clear but Please login to see this link. in my original post was clickable. It shows exactly what I want to do.

    Here's a video of what it does now. The effects of failure are pretty funny in this case to watch, but not forever. I hope it won't take too long before I can make it work properly.

    Please login to see this media element.

    Please login to see this link.
    (because you can)

    Edited 2 times, last by Literswater (May 13, 2015 at 9:47 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!