Search Unity

Question Ragdoll help

Discussion in 'Physics' started by VictorShabal, Feb 20, 2021.

  1. VictorShabal

    VictorShabal

    Joined:
    Feb 15, 2021
    Posts:
    9
    Hey guys!

    I have a model with a simple script using ragdoll, however, I have faced one kind of issue

    When I am using force to the model, the hands/legs getting difformated in the way they should not be

    https://prnt.sc/102ajek

    Is there is a way I can lock rotations/move for the body parts so it looks natural? Thank you, your help would be highly appreciated
     
  2. Simianosaurus

    Simianosaurus

    Joined:
    Feb 14, 2013
    Posts:
    14
    How did you setup the ragdoll?
    What type of joints is it using?
    How are you applying force to to it?
     
  3. MUG806

    MUG806

    Joined:
    Jul 20, 2014
    Posts:
    4
    You probably need to look at the configurable joint components of your bones. Set X Motion, Y Motion and Z Motion to locked. Now the joints can only spin, not move laterally.