Hey guys,
I’m trying to figure out how to do a ragdoll death for my character.
I have a Physics Asset and am calling SetSimulatePhysics…
auto player = Cast<AProjectCharacter>(OtherActor);
if (player) {
player->GetMesh()->SetSimulatePhysics(true);
player->bIsDead = true;
}
It works fine is as far as he falls down and looks ragdolly.
However what I notice is that his “Idle” animation is still playing. I tried to set the animation to “none” via the state machine but then he goes back to a t-pose. How do I turn his animation off and make him go all limp.
TIA