Ragdoll fly around or stuck
Describe the bug Ragdoll will fly around or stuck when any body instances are set to simulated in physics asset It might be a UE bug because it happened in default third person template
Version 5.4.4 Source code version
Fixing suggestion void AAlsCharacter::StartRagdollingImplementation() ... GetMesh()->SetCollisionObjectType(ECC_PhysicsBody); GetMesh()->SetCollisionEnabled(ECollisionEnabled::QueryAndPhysics); GetMesh()->SetSimulatePhysics(true); // Add a reset function here GetMesh()->ResetAllBodiesSimulatePhysics(); ...
in my case , i'm not using ragdoll or anything physical but the movement mode switches to custom after falling in some cases , and character gets stuck because the movement mode should be falling instead. will check further how to reproduce .
in my case , i'm not using ragdoll or anything physical but the movement mode switches to custom after falling in some cases , and character gets stuck because the movement mode should be falling instead. will check further how to reproduce .
I disabled mantling and can not reproduce now . The only custom mode is set here :
https://github.com/Sixze/ALS-Refactored/blob/625a3bb74dd627f7a6c009e7c86b5b74bc98d02a/Source/ALS/Private/AlsCharacter_Actions.cpp#L509
it happens when I use the ability system to move character to a target and the height from ground is not enough to let character fall I think .
Fixed in eac08972acfe2934c25ec74f6f23ac8950e70050.