Ragdolls - Creation, Transitioning to, and Optimization | Unity Tutorial

preview_player
Показать описание
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!

📚 Resources

🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
📚 Take my Unity ShaderGraph Course:

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

Chapters:
00:00 Ragdoll Introduction - Components Involved
04:05 Getting a Model
05:05 Ragdoll Creator Tool
07:41 Generated Ragdoll - Fixes Required!
08:49 Adding Hands and Feet to the Ragdoll
10:56 Toggle Between Animated Model and Ragdoll
12:00 Addressing Strange Ragdoll Behavior
16:30 Performance Analysis & Other Optimization Ideas
Рекомендации по теме
Комментарии
Автор

Hi if I leave the Animator On the collisions with the ragdoll colliders don't work well, they are very buggy... do you know how to fix this problem and use the same colliders in order to shoot and kill the zombie while the animator is On?

jackz
Автор

This video was absolutely great, thank you so much!!

Ignaciodev
Автор

This is the best ragdoll tutorial I've seen. I've never been fully satisfied with my previous implementations. Thanks for the great video!

audemkay
Автор

I needed a Ragdoll tutorial like this, one with all its special tips that make all the difference

ronigleydsonvilasnovas
Автор

What a video, this makes everything clear AF!

regys
Автор

No way! I just started using your videos a couple days ago to help with my new VR zombie game (demo on my channel) and we're using the same free asset :)

finally a replacement for Brackey's, thanks for your help!

TimeFlierGames
Автор

If your character's joints are stretching and moving in odd ways when being animated, make sure to set every rigid body to kinematic and then set kinematic to false when going into ragdoll

HighAFelf
Автор

Truly a fantastic tutorial. Thank you for concise, fast, clean, and accurate information. Subbed and will be watching all your other videos :D

CleanDay
Автор

Awesome tutorial man, love your energy & explanation style :]

realinfinux
Автор

i really enjoyed with ur videos, thank u

a.technology
Автор

You can fix the head by manually adding a neck joint between the torso and the head. 😊

goehlergamedev
Автор

Is it possible to add ragdoll (just on death) to enemies in existing unity games (Turbo Overkill)?

McGeezle
Автор

as the saying goes: the devil is in the details. and those cruicial details presented here are missing in most of the other tutorials ive seen. thx chief

OndrejL
Автор

Hi Liam, , if im using unity's build up character controller, how can I dissable and enable ragdolls?

hugodanielvalladoliddaumas
Автор

Any tips for the ragdoll>animator transition? Specifically with getting the positions lined up, and maybe even smoothening the transition so it doesn't snap.

For the positions... The ragdoll doesn't carry the game objects position, so if it gets blown away 10 meters, and then the animator is turned back on, it snaps back into it's original position, instead of it's new position.

As for the smoothing... Yeah, it's an instant snap, any ideas on how to transition from ragdoll to animator smoothly?

Dehakuzo
Автор

When I activates the animator again mai character was teleported to old position

TwoFahOfficial
Автор

... how did you made the 3 buttons at top left xD ? i often see unity debug buttons with this graphic but i was never able to find how to make those

KonradGM
Автор

How would i ragdoll only the legs but not the upper body?

EliasArnn
Автор

I got curious, is it possible to blend between Animation and ragdoll? By certain interpolation maybe mixed with weight strength for animation?

KonradGM
Автор

there is a problem now the ragdoll enabler doesnt exist

milizfs