Action games often make use of Ragdoll physics to simulate the character's body's reaction to being affected by a hit or explosion. In this recipe, we will learn how to set up and activate Ragdoll physics for our character whenever she touches a spiky object. We will also use the opportunity to reset the character's position and animations a number of seconds after that event has occurred:
![](https://static.packt-cdn.com/products/9781788471909/graphics/assets/fce4514f-6356-4231-9ce9-28555981a8d5.png)