Return from ragdoll

I have a swimming character that can jump out of the water. I want it to ragdoll while it’s out of the water and then return to a normal playable character when it lands back in the water.

I can get my character to go into ragdoll using “Set Simulate Physics” on the character mesh, which has a physasset.

I CAN get my character to stop ragdolling by setting the SimPhys to false and it goes back to using the AnimBP and appears to be accepting my inputs.

I can’t, however, move the camera or the character around at all after setting the sim to false. All inputs are firing, he just won’t move. I have turn blends and things that are causing the animations to play normally but it’s like he’s locked in place and so is my camera.

Any idea what I have to do?

Thanks.

Hi Hitpawz,

I believe what you are trying to accomplish is described on this link:

-Particularly in the “Set Up” section where it describes the “Set All Bodies Below Simulate Physics” node. I believe you could use this node to trigger the “Root” bone to cause all other bones below it to ragdoll when your skeletal mesh was out of the water.

In the Content Examples they use a slider to go back and forth between a ragdoll state which leads me to believe this would work in your case as well.

Here you can find awesome lessons for advanced return from ragdoll: https://www.youtube.com/playlist?list=PLT4SeajOa6mZt6RFYJT5R6M0vdoSgWLO5