ALS-Refactored icon indicating copy to clipboard operation
ALS-Refactored copied to clipboard

Ragdoll fly around or stuck

Open CrazyDogJ opened this issue 1 year ago • 2 comments

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(); ...

CrazyDogJ avatar Dec 04 '24 12:12 CrazyDogJ

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 .

murataka avatar Feb 16 '25 12:02 murataka

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 .

murataka avatar Feb 16 '25 12:02 murataka

Fixed in eac08972acfe2934c25ec74f6f23ac8950e70050.

Sixze avatar Jul 25 '25 21:07 Sixze