enum

RagdollMode

Drives a character's animated skeleton with a physics ragdoll.

Module
Physics
Header
#include "Physics/Components/RagdollComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Lifecycle (managed by RagdollSystem): - enabled = false → no physics, normal Animator playback - enabled = true, mode = … → on the next tick the system materializes a ragdoll from the entity's AnimatorComponent::skeleton, snaps the bodies to the current animated pose, and starts simulating - enabled = false after on → system removes the bodies and the Animator takes over again next frame

Mode semantics: - Animated — physics off, this component is dormant - Ragdoll — physics fully drives the skeleton; AnimationSystem still ticks clips so we can blend back later, but boneMatrices are overwritten from body poses each frame - Hybrid — blended weight between animated and physics (per-bone weight curve, head/upper-body driven anim while lower-body ragdolls, etc.)

Values

NameValueDescription
Animated0
Ragdoll1
Hybrid2
Generated from Physics/Components/RagdollComponent.h via physics.json · Nov 4, 2026Version 1.0.0