Character reacting to hitting objects realistically (a not falling ragdoll effect)

Hello everyone,

I am searching for a solution that will behave like a ragdoll but a ragdoll wouldn’t work.

As to a definition from Wikipedia,
“ragdoll physics is a type of procedural animation that is often used as a replacement for traditional static death animations in video games and animated films.”

Consider a character standing (maybe with idle animation) and a ball hits in the head or any part of the body…
I need the character to react realistically but not fall down as a dead body…
I might have several object where each have a mass, speed … etc
The heaviest object might kill the character and makes it fall where the other ones just make the character shake.

For example “Beat the Boss” looks like a good example.

Can someone guide me to the right direction?

Thanks in Advance,
Moghes

the simplest route would be to have several animations (HitHeadSoft, HitHeadHard, HitBodySoft, HitBodyHard,etc)

you could also experiment with mechanim

A set of joints maybe?

For a “realistic” head hit, maybe you can blend from idle to ragdoll, then to some sort of recovery animation, back to idle.

If ragdoll drops too fast… try to make the limbs not so loose, if that’s possible… or lower its gravity.

Thanks,

I am using character joints, what might be your suggestion?

Thanks,
this sounds great…

But consider I have 5 tools each have to effect in a different weight … do I have to edit values for limbs for each hit?
BTW I am using character joints, can you tell me which factor to tweek to make the ragdoll more stable?

As i continue my search, I found some tec named “Euphoria”
although its not that new but a few years old.
And its an engine of its own but some telling its a middleware.

Check their website: http://www.naturalmotion.com/middleware/euphoria/

For sure I am not searching for this much, its AI driven and needs CPU resources (too much for mobiles).

Check this video: http://www.youtube.com/watch?v=_VokRXBpf-w

As you see in the video how the “euphoria” character reacts to the box.

I would like to have the effect of the hit without the AI part… If I could express myself, I don’t want the character to know if an object is
coming towards him or make real pain animations … but at least to shake,move in a real way…

I did a not falling ragdoll effect.

I used the AnimFollow script that makes a ragdoll follow an animation. The forces that control the ragdoll may be set in real-time per individual limbs. To get the non falling effect I lowered the ragdoll strength when an impact was detected and then lerped the strength back after the impact (use the limb script to detect collision). To get it to look as good as in the video is somewhat advanced. Hope you liked, and got inspired by, the video.

Patrik

1 Like