Getting ready

Again, we are going to use the same character as in the Creating a humanoid ragdoll with the ragdoll wizard recipe. We will need two getting up animations: one from face facing down and one from face facing up positions. Name them StandUpFaceUp and StandUpFaceDown. We also need at least a looped Idle animation.

You can also open the example Unity project and go to the Chapter 09 Physics and animationsRecipe 08 Getting up from a ragdoll directory. If you open the Example.unity scene there, play the game and press the space bar; the character will fall down using ragdoll. If you press the space bar again, it will blend from a ragdoll to a getting up animation and will be animated again.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.214.155