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
| Returns | Name | Description |
|---|---|---|
void | Initialize | |
void | Shutdown | |
void | Update |
Function details
Initialize
C++
void Initialize(World* world) overrideShutdown
C++
void Shutdown() overrideUpdate
C++
void Update(float deltaTime) overrideGenerated from Physics/RagdollSystem.h via physics.json · Nov 4, 2026Version 1.0.0