# Does UE4 support Active Ragdoll?

**URL:** <https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [May 12, 2021, 5:39am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932 "2021-05-12T05:39:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 5:39am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/1 "2021-05-12T05:39:26Z")

</div>

does UE4 support Active Ragdoll?  
thanks!

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [May 12, 2021, 5:43am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/2 "2021-05-12T05:43:50Z")

</div>

If by “Active Ragdoll” you mean Physical Animations then yes.

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 12, 2021, 6:11am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/3 "2021-05-12T06:11:15Z")

</div>

If you mean like Euphoria in GTA, then yes, but not necessarily “by default”. Active ragdoll is literally what the name implies, a “ragdoll” that is “active”. To make an active ragdoll, you need to animate the ragdoll while it’s simulating, which is done by applying angular forces or motors to its joints.

There’s a marketplace asset for active ragdoll: [Active Ragdoll in Blueprints - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/active-ragdoll), and it has with a free playable demo in the description (which I’ve had for years).

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 6:38am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/4 "2021-05-12T06:38:29Z")

</div>

thanks!  
is there any free content or tutorial to get this kind of active ragdoll:  
  
  
[https://www.youtube.com/watch?v=69-8ZD\_NRnM](https://www.youtube.com/watch?v=69-8ZD_NRnM)  
[https://www.youtube.com/watch?v=Fstomu3IOVk](https://www.youtube.com/watch?v=Fstomu3IOVk)

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 12, 2021, 7:23am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/5 "2021-05-12T07:23:36Z")

</div>

When it comes to self-balancing walking active ragdolls, it gets pretty challenging because you have to work with physics and there’s many things to deal with. It’s actually an area of actual scientific research (at least with AI): [Flexible Muscle-Based Locomotion for Bipedal Creatures - YouTube](https://www.youtube.com/watch?v=pgaEE27nsQw)

It’s of course been done before to varying levels of “realism” in games like Gangs Beasts, Totally Accurate Battle Simulator, and Sumotori Dreams. But you’ll see not many games have this type of active ragdoll, and that’s for the simple reason that it’s both complex and unpredictable or unstable. That’s why you really only see it in indie games.

I don’t know any content or tutorials other than the marketplace asset I posted. You can find tutorials by searching “active ragdoll tutorial” on youtube & google. Even if it’s not for UE4, it’s still applicable because it’s all physics. Up to 4.25, UE4 uses PhysX, which is the same physics engine Unity uses, so it should also be similar on a technical level.

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 7:27am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/6 "2021-05-12T07:27:06Z")

</div>

thank you very much.  
and i’ve found this repo and am reading it:  
[https://github.com/sergioabreu-g/active-ragdolls](https://github.com/sergioabreu-g/active-ragdolls)

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 7:34am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/7 "2021-05-12T07:34:03Z")

</div>

> [@midgunner66](#):
>
> Up to 4.25, UE4 uses PhysX

yeh, i know, but now i’m using the latest 4.26.2, UE use its own physics engine, right?  
and what’s your prefer? try use 4.26.2 and its own physics engine?or integrate PhysX in 4.26.2? or just use 4.25?

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 7:38am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/8 "2021-05-12T07:38:46Z")

</div>

what if i consider simple situations now, such like the first video:  
  
and just consider the height of terrain while it’s walking & it can be “hit” then it will fall backward/forward(& hit from left/right is the same, right?)

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 12, 2021, 7:47am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/9 "2021-05-12T07:47:14Z")

</div>

> [@gpu2015](#):
>
> and what’s your prefer? try use 4.26.2 and its own physics engine?or integrate PhysX in 4.26.2? or just use 4.25?

I’ve seen some people have problems with Chaos, like this for example:  
[https://www.reddit.com/r/unrealengine/comments/kpo9za/chaos\_vs\_physx\_just\_tried\_new\_chaos\_physics/](https://www.reddit.com/r/unrealengine/comments/kpo9za/chaos_vs_physx_just_tried_new_chaos_physics/)  
So personally, I would stick with PhysX, especially since it’s been battle tested a lot longer.

> [@gpu2015](#):
>
> and just consider the height of terrain while it’s walking & it can be “hit” then it will fall backward/forward(& hit from left/right is the same, right?)

Yeah, that’s how the marketplace asset works (animated while walking, physics while falling). Gang Beasts & Totally Accurate Battle Simulator kind of treat it like a puppet, where it’s physically simulated the whole time, but it’s constrained to an upright position until it get’s hit.

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 7:53am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/10 "2021-05-12T07:53:09Z")

</div>

thanks! so is it possible to integrate the latest PhysX with UE4.26.2?(and even if it was possible, PhysX will not be Free, right?)  
So it’s better to use UE4.25?  
or is it possible to use UE4.26.2 with other physics engine, eg. Bullet ?  
(and it seems that the PhysX team had some situation? so it’s not updated and fixed well since some years ago? not sure…)  
ps. i’m going to make this game on Mobile & VR(Oculus Quest2), not very complex game.

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 12, 2021, 8:12am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/11 "2021-05-12T08:12:01Z")

</div>

> [@gpu2015](#):
>
> so is it possible to integrate the latest PhysX with UE4.26.2?(and even if it was possible, PhysX will not be Free, right?)  
> So it’s better to use UE4.25?

Last time I checked, PhysX was free (it’s a physics library). I wouldn’t try implementing it in 4.26 since it’s already implemented in 4.25 & below. I would stick with 4.25.

> [@gpu2015](#):
>
> or is it possible to use UE4.26.2 with other physics engine, eg. Bullet ?

I actually once implemented Bullet into the engine, though it was a while ago and implemented as a plugin. I never finished it, but I at least got physics running. Still not worth it, though; I would still stick with PhysX.

> [@gpu2015](#):
>
> ps. i’m going to make this game on Mobile & VR(Oculus Quest2), not very complex game.

That shouldn’t be a problem (I think). I’ve never worked with mobile, so I don’t know for sure, but I think mobile devices can handle it, especially if it’s a simple game.

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 8:17am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/13 "2021-05-12T08:17:33Z")

</div>

thank you so so much!  
i will find more tutorials such like [GitHub - sergioabreu-g/active-ragdolls: Active Ragdolls in Unity](https://github.com/sergioabreu-g/active-ragdolls)  
then try those methods in UE4.26.2 with its Chaos, if not work well, i will use UE 4.25 with PhysX as your good advice.

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 8:40am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/14 "2021-05-12T08:40:20Z")

</div>

> [@midgunner66](#):
>
> Up to 4.25, UE4 uses PhysX

[https://docs.unrealengine.com/en-US/InteractiveExperiences/Physics/ChaosPhysics/Overview/index.html](https://docs.unrealengine.com/en-US/InteractiveExperiences/Physics/ChaosPhysics/Overview/index.html)  
is this doc the latest?  
I checked `UE4Editor.Target.cs` either in the installed 4.26.2 dir or the latest code dir from github, both of them are with not enable Chaos:  
// Copyright Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

using System.Collections.Generic;

public class UE4EditorTarget : TargetRules

{

```
public UE4EditorTarget( TargetInfo Target ) : base(Target)

{

    Type = TargetType.Editor;

    BuildEnvironment = TargetBuildEnvironment.Shared;

    bBuildAllModules = true;

    ExtraModuleNames.Add("UE4Game");

}

```

}

without:

```auto
    bCompileChaos = true; 
    //Note that the following line is not needed for 4.23 or previous versions. 
    bUseChaos = true; 

```

so it means both of the 4.26.2 from installer or github code are still use PhysX ?

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 12, 2021, 8:55am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/15 "2021-05-12T08:55:18Z")

</div>

Yeah, good catch. Apparently the version with Chaos enabled by default is 4.26-Chaos:

> [@Unreal Engine 4.26-Chaos Preview now available on the Epic Games launcher](https://forums.unrealengine.com/t/unreal-engine-4-26-chaos-preview-now-available-on-the-epic-games-launcher/155163/1):
>
> **Finding Chaos**  
> Head to the Epic Games launcher and install **Unreal Engine 4.26-Chaos Preview** from the list of available versions in the install dropdown. In this binary build, Chaos replaces PhysX for all physics simulations, including cloth, [vehicles](https://docs.unrealengine.com/en-US/InteractiveExperiences/Physics/ChaosPhysics/ChaosVehicles/index.html), and [destruction](https://docs.unrealengine.com/en-US/InteractiveExperiences/Physics/ChaosPhysics/ChaosDestruction/index.html).
> 
> Note: 4.26-Chaos can be found at the bottom of the dropdown.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/d/cdfeb78a83746310263da0ded7fd8df8628d9b97.png)

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 12, 2021, 9:01am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/16 "2021-05-12T09:01:58Z")

</div>

> [@midgunner66](#):
>
> Apparently the version with Chaos enabled by

ok thanks, then I’ll just try 4.26.2 😃

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [May 12, 2021, 11:14pm UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/17 "2021-05-12T23:14:04Z")

</div>

Here.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/3/2037dbfdd7223a04de78a6d20de8c15ab3be5c41.jpeg "Physical Animations | Live Training | Unreal Engine") ](https://www.youtube.com/watch?v=N1tDjbFXeOo)

You can make your characters react to any physics by toggling the physical animation on and off and changing the profile at runtime to define different stiffness.  
It reacts to things as you would expect - based on the PHAT asset collision definition.

It can also be improved by a control rig script now a days. Given that, and some engine knowledge you could force actions based on non physical behaviors at runtime with it too - so as to support older ways of doing things and make them work with the newer systems.

No need for any chaos vs physx bs.  
The engine is what it is, and phys x will ventually be completely discontinued - as reported by ue4 staff more than once.

You should go with whatever will be avaliable in the future if you are starting now.  
By the time you publish it, it will also probably perform much better than it does currently.  
Forcing physx is going to cost you the ability to migrate and pick up your project later on.

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 13, 2021, 12:40am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/19 "2021-05-13T00:40:01Z")

</div>

thank you so much !

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 13, 2021, 4:44am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/20 "2021-05-13T04:44:25Z")

</div>

found the Advanced Locomotion System V4, it seems can be dev based on this ALS:  
[https://www.reddit.com/r/unrealengine/comments/fac14u/active\_ragdolls\_for\_stormrite/](https://www.reddit.com/r/unrealengine/comments/fac14u/active_ragdolls_for_stormrite/)  
[https://www.unrealengine.com/marketplace/en-US/product/advanced-locomotion-system-v1](https://www.unrealengine.com/marketplace/en-US/product/advanced-locomotion-system-v1)  
when NPC is shot, play a shot animation, and then turn off the animation and turn on the Rogdoll, right?  
and if want the NPC stand up, should play a stand up animation(if the lying pose is too weird, first change it to the start-pose of stand-up animation?and how to do this well?)

---

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [May 13, 2021, 4:47am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/21 "2021-05-13T04:47:07Z")

</div>

however, this demo seems never turn off the walking animation, as when the charactor is hit down to the ground, its feet are still “walking” in the air and try its best to find the balance to stand up.  
How to get this kind of charactor?  
  
  
How to make this never laid down charactor?  
thanks

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [May 13, 2021, 6:04am UTC](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932/22 "2021-05-13T06:04:41Z")

</div>

**For the first video:**  
This type of thing is difficult to do because it’s an AI trying to balance itself. I played the demo, and the AI isn’t very good at picking itself back up. I don’t know how to do this, and there really isn’t a lot of easy tutorials on this type of thing. Most of them are in research papers rather than YouTube videos because it’s still an active area of research; it’s the same thing as the [Boston Dynamics robots](https://youtu.be/rVlhMGQgDkY?t=82). You can also find these types of things on the [Bullet Physics YouTube channel](https://www.youtube.com/c/erwincoumans/videos).

**For the second video:**  
A constraint is being used to hold the character upright, which is why the character looks so bouncy. It’s the same as how Gang Beasts & Totally Accurate Battle Simulator work. This removes the need for the character to balance itself; think about it like having training wheels on a bike.

You can download old pre-alphas of Gang Beasts here: [Downloads - Gang Beasts (prototype) - Indie DB](https://www.indiedb.com/games/gangbeasts/downloads)

[Next page](https://forums.unrealengine.com/t/does-ue4-support-active-ragdoll/228932.md?page=2)
