Mix Animations with Ragdoll

Is it possible to mix animations with a ragdoll:
having a character that is animated but once hit it turns fully or to a certain percentage in a ragdoll.

Can you give me a hint on how to do that?
Or some references where I can find more info?

Thanks.

I believe it is… But I’ve only experimented with animating ragdolls programatically. I would just try setting all of the joints to have a rigidbody and a collider like any other ragdoll, but then I would (in your script) set the rigidbodiy’s “Is Kinematic” property to true. this would ( I think ) set the animation to play on only the kinematic joints, and the ragdoll effect would only be on the non-Kinematic joints.

Yes, you can mix animations and ragdolls.

AnimationState.AddMixingTransform() is useful for this. It lets you enable animation states for each transform in the objects hierachy.

Thanks!

It’s definitely possible, Jetpack Brontosaurus seems to use this technique. :slight_smile:

I thought Jetpack Brontosaurus was all procedural…