- Home /
Animation State is causing ragdoll to freeze
Hi guys
I have a ragdoll set up with a bunch of Character Joints, but I want it to be able to CrossFade into an animation at any time.
So I set up the Animation Controller like this:
Anytime it's on Empty it should do its ragdoll thing, but when I'm playing the headbutt and jab1 state it should fade into those animations (And I just call animation.CrossFade() function)
While the Controller still only has the empty state I hit Play, the ragdoll still works fine. As soon as I add the headbutt or jab1 state, the entire ragdoll set up breaks, and basically all movement is frozen except for some really random bits still moving a little bit. Only the empty state is playing - headbutt and jab1 aren't even playing at all If I delete headbutt and jab1 again (still in Play mode) the ragdoll works fine again.
I made a GIF of this, to illustrate this better:
I have no idea what is going on here, is this potentially a Unity bug?