Skip to content

Conversation

@jankrassnigg
Copy link
Member

Makes it possible for ragdoll components to use animations for more lifelike movement.

ragdoll-jump.mp4

There are three ragdoll animation modes:

  • "limp" - the ragdoll just falls as usual
  • "powered" - the ragdoll uses an animation to move, ie rotate its limbs. It still falls down as usual, but has some force in it's joints.
  • "controlled" - the ragdoll is fully kinematic and follows the animation accurately. This should only be used for a short time to make the ragdoll animation more artistic, but it should switch to the powered or limp mode soon after, to have the physics engine take over.

Modes can be switched at any time and usually markup in animation clips would be used to determine when there's a good time to switch. However, once a ragdoll goes limp, it can't go back to another mode, since this disables animation sampling.

@jankrassnigg jankrassnigg force-pushed the user/jk/ragdoll-anim branch from c850ecc to 2856fe3 Compare July 28, 2025 07:44
@jankrassnigg jankrassnigg merged commit e52b478 into dev Jul 28, 2025
11 checks passed
@jankrassnigg jankrassnigg deleted the user/jk/ragdoll-anim branch July 28, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants