Automatically Resolve Intersections

Short and sweet example of how you could utilise Ragdoll for pipeline automation.

In this case, to resolve intersections at the start frame for things like automated cloth, hair and muscle simulations. To get a good, non-overlapping start pose regardless of what an animator throws at it.

How it works

  • Frame 1-50, gravity is off and Air Density = 100
  • Frame 50-80, world space stiffness is engaged, bringing the character back in pose whilst avoiding new overlaps
  • The screen-left arm straightens out, because it was rotated along a locked rotate axis. The simulation fixes that, and rotates the upper arm to match the visual pose.
  • Clavicles straighten out, because they are also locked to only rotate in one axis; twisting.