Search Unity

Ragdoll Joint explanation

Discussion in 'Physics for ECS' started by Cal0n, Nov 12, 2019.

  1. Cal0n

    Cal0n

    Joined:
    Jul 21, 2015
    Posts:
    4
    I would appreciate a small explanation of the Ragdoll Joints axes and limits in relation to each other.
    The Cone Angle and Twist Limits are straight forward but I don't understand how the Perpendicular Angle Limits work.
     
  2. MaxAbernethy

    MaxAbernethy

    Joined:
    Mar 16, 2019
    Posts:
    53
    Hello Cal0n,

    The perpendicular limits are actually just more cones :) the cone limit restricts the maximum angle between the bodies' twist axes, while the perpendicular limits restrict the minimum and maximum angles between B's perpendicular axis and A's twist axis. If you look in UnityPhysicsExamples at 4a. Joints Parade, there's a ragdoll joint in there, and as you change the angles you can see how it changes the cones.

    Perpendicular limits are useful for modeling asymmetrical joints like shoulders and hips. You can also narrow both of the perpendicular limits to get a decent approximation of an ellipse.
     
    jasonatkaruna likes this.
  3. Cal0n

    Cal0n

    Joined:
    Jul 21, 2015
    Posts:
    4
    Thank you for the explanation!