Archive 17/01/2023.

Ragdoll recovery test

Lumak

video

edit: changed the title to “ragdoll recovery test”

Mike

Awesome! :grinning:
Reminds me of magic.lixin experiments.

ghidra

Thats is totally awesome!

Lumak

His Batman videos? Yeah, kinda does

rasteron

Looking good and awesome, keep it up!

sabotage3d

Looks really nice. Are you using IK solver? How are you blending?

Lumak

No IK. Blending is done by blending to the ragdoll’s node transforms instead of skeleton.

In AnimatedModel::ApplyAnimation(), I wrap skeleton_.ResetSilent() with:

        if (!ragdollRecovery_)
        {
            skeleton_.ResetSilent();
        }

Then adding a slight delay in AnimationController::Update() for ragdoll blending to the 1st frame of the stand up animaiton.