Ragdolls - Creation, Transitioning to, and Optimization
Published: 19 Apr 2022
Learn the creation workflow for Ragdolls in Unity, how to toggle between an Animator and Ragdoll, and think through some optimization ideas when you have a large number of potential ragdolls in your game!
Ragdolls are a hugely popular mechanic in games that add, usually a funny mechanic into your game. What they always do though, is allow you to have models go limp and flop around procedurally!
While the tool we look at for auto-attaching Colliders, Rigidbodies, and CharacterJoints to the Transform "bones" of our 3d model, you can manually add these and have any model go into a Ragdoll by following the same process we followed to set up the hands and feet!
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 Get the FULL FREE PROJECT on GitHub: https://github.com/llamacademy/ragdolls
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly
📚 Resources
🟠 Unity Ragdoll Documentation: https://docs.unity3d.com/Manual/wizard-RagdollWizard.html (pretty short)
🟠 Zombie Asset to import: https://assetstore.unity.com/packages/3d/characters/humanoids/zombie-30232?aid=1101l9QvC
🟠 Physic Material Documentation: https://docs.unity3d.com/Manual/class-PhysicMaterial.html
🟠 Active Ragdoll Video: https://www.youtube.com/watch?v=L-kFL2iQ3os
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.