User Tag List

Results 1 to 3 of 3

Thread: Making a dragable ragdoll

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    Literswater's Avatar
    Join Date
    Apr 2014
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making a dragable ragdoll

    Ragdoll physics can be hilarious in a very absurd way. I remeber this really strange Russian flash game called Tetka.

    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?

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,306
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Well, as long as you know how to drag just ONE simple active object on screen, then the rest you can pretty much code the ragdoll physics.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    Literswater's Avatar
    Join Date
    Apr 2014
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 that link to the Tetka game 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.


Similar Threads

  1. Help: Making an app dragable without thick frame or heading?
    By KyleVG in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th May 2013, 08:21 PM
  2. listview dragable lines?
    By bubba_damage in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 14th December 2009, 10:59 PM
  3. Ragdoll
    By xhedgehogx in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th February 2009, 08:37 PM
  4. Dragable Object
    By DeepGames in forum File Archive
    Replies: 5
    Last Post: 15th July 2006, 07:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •