Search Unity

Ragdoll in game

Discussion in 'Physics' started by JeevanjotSingh, Aug 27, 2015.

  1. JeevanjotSingh

    JeevanjotSingh

    Joined:
    Apr 30, 2014
    Posts:
    251
    Hello dev mates,
    i have some trouble to make my 3rd game .

    I can't get where to start .
    I am on a 2.5d game something like this one - https://www.google.co.in/url?sa=t&r...rO17e3ddMSk7UUHaw&sig2=8uNJC1GDjEm510Ycp_IK-Q


    this is by vipergames and created in Unity . So this is 2d and i want to do same stuff with 3d ragdoll character .
    I completed ragdoll process but how do i add limits of the bones so the only streach a little bit and again act like a start shape , like in the game . And while moving to x and y it goes to z automatically (with some bounces) how it just go straight to x and y . (waiting for answer since a month ago , hope this time i get the answer) thanks .
     
  2. JeevanjotSingh

    JeevanjotSingh

    Joined:
    Apr 30, 2014
    Posts:
    251
    anyone , Cmon no one have enough knowledge(it's professional class and no one giving a good answer to me).
     
  3. JeevanjotSingh

    JeevanjotSingh

    Joined:
    Apr 30, 2014
    Posts:
    251
    Nothing suggestions yet!
     
  4. HiddenMonk

    HiddenMonk

    Joined:
    Dec 19, 2014
    Posts:
    987
    Try a configurable joint
    http://docs.unity3d.com/Manual/class-ConfigurableJoint.html

    Set the motions to limited, and then set the limit amounts to your desire.

    To prevent it from going to z, maybe try constraining your rigidbodies z position on the rigidbody component.

    I dont know what you mean "act like a start shape", but if you mean having the joint spring back to its original position, then I think the springs do that on the configurable joint.
     
    Last edited: Aug 30, 2015