How to set up ragdoll

I create simple ragdoll event witch in if I hit “R” mesh go ragdoll and if I again hit “R” mesh go back to the animations
but here is problem when I go back to from ragdoll mesh is something like stuck I can walk my capsule component can walk arround and mesh is playing animations but not moving at all.
Here is video of this :

Yes I had that trouble. I fixed it a different method though so may not be useful for you. Instead of disabling ragdoll and it snapping back, I decided since it just snaps back, I destroy the character, respawn a new character and possess it. Since you generally ragdoll on death, it made sense to kill the character properly and spawn a new guy.

thanks for answer but I found tutorial what show my proplem but again thanks for help