class

RagdollSystem

Owns the lifecycle of every active physics ragdoll in the World and each frame reads the simulated body transforms back into the owning entity's AnimatorComponent::boneMatrices so the skinned mesh renders the physics-driven pose.

Module
Physics
Header
#include "Physics/RagdollSystem.h"
Namespace
Mowo

Tick order: ragdoll bodies are activated by Jolt during PhysicsSystem step. RagdollSystem::Update runs AFTER PhysicsSystem::Update (registered later in Scene system init) and AFTER AnimationSystem so its writes to boneMatrices are not overwritten by FK. The skinning shader picks up whatever's there at the end of the frame.

Public functions

ReturnsNameDescription
voidInitialize
voidShutdown
voidUpdate

Function details

Initialize

C++
void Initialize(World* world) override

Shutdown

C++
void Shutdown() override

Update

C++
void Update(float deltaTime) override
Generated from Physics/RagdollSystem.h via physics.json · Nov 4, 2026Version 1.0.0