Toggle-able ragdoll in the bge?

I’ve made a ragdoll of the player model that works nicely, but the problem is that I have no way to turn ragdoll mode on when the player dies. I’ve searched around, but didn’t find anything. Does anyone have any idea how I can do this?

Anyone? Nothing I try works.

Would deleting the player mesh + armature and spawning in the ragdoll + armature work?
(upon death)

parent the ragdoll ghost to each bone one frame 0?

use 2 armatures?

That’s what I’m trying to do, but the ragdoll doesn’t seem to move when I do it that way. I’m using a bunch of edit object actuators on add object, by the way, is there an easier way to do that?