Ok, so breaking it down to what’s probably the root of the problem, no pun intended. In ver 4.4 the root bone of the skeleton does not move when I enable ragdoll. As it shouldn’t, because there is no rigid body associated with it. So I can freely update the position of it and the capsule, without problems.
Now, in ver4.5 what happens is, as soon as I enable ragdoll, the root bone moves along with the pelvis. It basically jumps to the pelvis and moves with it, so the root bone moves where ever the pelvis goes. As soon as I try and move it manually it affects the ragdoll too. It’s not “free” from the ragdoll as it should be, since it’s not part of the simulation.
Now, in theory, you want the root to actually follow along, because when you blend back to animation, you want the pelvis to blend back to it’s position above the root. But in practice, doesn’t actually happen. Because now in the ragdoll state, the root follows the pelvis, it totally screws with the blend. The thing spins around or jumps off screen or does some weird thing.
So, before in my previous post I mentioned I can easily place the root. To do I give it also a rigid body, although I free it from the rest of the ragdoll, the ragdoll can move around and the root stays in place. and in way I can keep the root in place when I set the ragdoll. I also only use the SetPhysicsBelow node in stead so I can set physics to the pelvis and down the rest of the tree. So the root never goes into physics state.
That’s the only way I can duplicate the previous behavior, going into ragdoll. But now, blending back correctly is not possible because trying to place the capsule, moves the root which in turn moves the rest of the ragdoll as if I am physically dragging the ragdoll across the floor. I can’t seem to find a way where I can keep the root free and re-position it without affecting the ragdoll.
It has to work backwards because I have to match the capsule and the root to the ragdoll, and not the other way around. Otherwise I can’t blend the ragdoll back to animation, in the correct position.