Enable ragdoll?

Hi there.

I haave a cube ragdoll that works awesome, and an exact copy of him, but rigged instead of ragdoll. So I want to know, is there a way to make it so that when the rigged guy runs out of health it will change to the ragdoll one?

Thanks.

Yeah, I know how.

Well then could you please tell me?

I tried this, but I failed. What I did was actually had a ragdoll parented to an armature. I also wrote a script that disabled (suspended) dynamics until the object was hit by a ray. It was all jumpy though and the animations didn’t work correctly. Best of luck, though!

Well, I did some experimenting with this, and I made the guy fall when you hit the V key. However, as soon as you make the armature he is parented to a dynamic object (or even parent the armature to a dynamic object) the ragdoll doesn’t fall. But it does have a fairly smooth transition otherwise (unless he is running, then he falls forward more). Here is the blend

Attachments

Activate ragdoll.blend (65 KB)

yeah, i need to figure out how to do this too… but when its hit by something like a bullet…

If you think about it. The way I’ve set it up (parenting each body part to a separate bone) might work even better because it allows you to make each bone become ragdoll separately. you just replace the keyboard sensor with a collision one. So lets say your guy gets hit in the arm with a bullet, you tell the arm to sense the bullet, and link that to the controller that activates the ragdoll. and if you create a property when this happens, and you set all the lower extremitys to sense for this property, this would then make the lower part of the arm dangle to.

Ok thanks for that example I might have gotten another idea from that.

If only you could change one object to another object.

Edit:
Nope. My experimentation resulted in nothing.

Edit 2:
Well Joe, your idea might actually work. I have to go soon, but will goof around a bit more when I get back. If anyone else has any ideas fell free to post.

An idea you say, well, don’t got one hehe:o but thank you very very much for that its just what i was looking for:evilgrin:

An idea you say, well, don’t got one hehe:o but thank you very very much for that its just what i was looking for:evilgrin:

Oh yea I was looking how to do this! Thank you Joe_Stevens!

And by the way:

Blafen your an idiot

Edited - my thoughts a blafen were way harsher before…didn’t want to be too mean.