# How to make character play animation when in ragdoll

**URL:** <https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, Blueprint, question\
**Created:** [August 30, 2022, 4:37pm UTC](https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314 "2022-08-30T16:37:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Efofe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Efofe](https://forums.unrealengine.com/u/Efofe)\
**Post date:** [August 30, 2022, 4:37pm UTC](https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314/1 "2022-08-30T16:37:52Z")

</div>

Hi basically what i want,i have an enemy character and when it dies it goes to ragdoll.But i want to make them realistic so when it goes to ragdoll it will start to suffer from pain and slowly die.  
Here is an example

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/2/ce2dd15bdbe755572aae0731f3807a568abb67d8.jpeg "Ground Branch (V1032) - Ragdoll Physics") ](https://www.youtube.com/watch?v=vF_5wz60Lhg)

Anyone know how can i do that?

---

<div class="post-metadata">

**Author:** ![ZenLeviathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zenleviathan/32/551307_2.png) [@ZenLeviathan](https://forums.unrealengine.com/u/ZenLeviathan)\
**Post date:** [August 30, 2022, 4:51pm UTC](https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314/2 "2022-08-30T16:51:16Z")

</div>

Hey @Efofe, In terms of logic, do you want the character to ragdoll first, then play the death animation? Or have the death animation slowly play and then ragdoll?  
I found a pretty good thread from a while back that goes into the in-and-outs of triggering ragdoll because I’ve only ever personally used the Ragdoll preset - [Trigger character ragdoll with input key event? - #18 by malosal](https://forums.unrealengine.com/t/trigger-character-ragdoll-with-input-key-event/279592/18)  
Maybe after ragdolling, you reset the component and then set the animation to your slow and painful death, but having that be in ragdoll physics may create some funky behaviour.  
I hope this can help you!  
-Zen

---

<div class="post-metadata">

**Author:** ![Efofe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Efofe](https://forums.unrealengine.com/u/Efofe)\
**Post date:** [August 30, 2022, 5:04pm UTC](https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314/3 "2022-08-30T17:04:35Z")

</div>

i want the character to ragdoll first thank you by the way i will look at that too

---

<div class="post-metadata">

**Author:** ![Efofe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Efofe](https://forums.unrealengine.com/u/Efofe)\
**Post date:** [August 30, 2022, 5:16pm UTC](https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314/4 "2022-08-30T17:16:27Z")

</div>

What do you mean by reset the component?

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [August 30, 2022, 6:06pm UTC](https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314/5 "2022-08-30T18:06:58Z")

</div>

Hey! I did some work on that game in it’s earlier days! 😃

I didn’t, however, do anything involving ragdolls in it.

There’s a pretty decent article on doing partial ragdolling here: [Physics Driven Animation in Unreal Engine | Unreal Engine 5.0 Documentation](https://docs.unrealengine.com/5.0/en-US/physics-driven-animation-in-unreal-engine/)

Also of potential interest to learn some of the things involved, a tutorial on recovering from a ragdoll state

> **[Ragdolling and how to recover from it | Tutorial](https://dev.epicgames.com/community/learning/tutorials/mvvL/unreal-engine-ragdolling-and-how-to-recover-from-it)**
>
> It can be quite challenging to get back from a ragdoll state. In this tutorial it is shown step by step how to go into ragdoll and how to get back to th...

---

<div class="post-metadata">

**Author:** ![ZenLeviathan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zenleviathan/32/551307_2.png) [@ZenLeviathan](https://forums.unrealengine.com/u/ZenLeviathan)\
**Post date:** [August 30, 2022, 9:38pm UTC](https://forums.unrealengine.com/t/how-to-make-character-play-animation-when-in-ragdoll/637314/6 "2022-08-30T21:38:14Z")

</div>

@Efofe, I just mean having a series of blueprints that go from setting the collision preset component to ragdoll when they die to a series that returns the body to normal physics. The Tutorial @eblade does a very good job explaining the concepts, it’s definitely worth a watch.

I hope this helps,  
-Zen
