Hi basically what i want,i have an enemy character and when it dies it goes to ragdoll.But i want to make them realistic so when it goes to ragdoll it will start to suffer from pain and slowly die.
Here is an example
Anyone know how can i do that?
Hi basically what i want,i have an enemy character and when it dies it goes to ragdoll.But i want to make them realistic so when it goes to ragdoll it will start to suffer from pain and slowly die.
Here is an example
Anyone know how can i do that?
Hey @Efofe, In terms of logic, do you want the character to ragdoll first, then play the death animation? Or have the death animation slowly play and then ragdoll?
I found a pretty good thread from a while back that goes into the in-and-outs of triggering ragdoll because I’ve only ever personally used the Ragdoll preset - Trigger character ragdoll with input key event? - #18 by malosal
Maybe after ragdolling, you reset the component and then set the animation to your slow and painful death, but having that be in ragdoll physics may create some funky behaviour.
I hope this can help you!
-Zen
i want the character to ragdoll first thank you by the way i will look at that too
What do you mean by reset the component?
Hey! I did some work on that game in it’s earlier days!
I didn’t, however, do anything involving ragdolls in it.
There’s a pretty decent article on doing partial ragdolling here: Physics Driven Animation in Unreal Engine | Unreal Engine 5.0 Documentation
Also of potential interest to learn some of the things involved, a tutorial on recovering from a ragdoll state
@Efofe, I just mean having a series of blueprints that go from setting the collision preset component to ragdoll when they die to a series that returns the body to normal physics. The Tutorial @eblade does a very good job explaining the concepts, it’s definitely worth a watch.
I hope this helps,
-Zen