I have a Enemy class that derives from ACharacter who can take damage and turn into a rag doll on death.
What I would like to do after a few seconds is stop the physics simulation and freeze the rag doll so I don’t have a lot of extra physics calculations slowing my game down.
I tried a few things like;
GetMesh()->SetAllBodiesSimulatePhysics(false);
but that puts the enemy back under the animation blueprints control so he pops back to idle because I don’t have a dead animation.
What am I missing here? I’m sure there is a way to freeze the ragdoll and turn off it’s physics?