{"id":18752896,"url":"https://github.com/ashleve/activeragdoll","last_synced_at":"2025-07-21T13:35:16.997Z","repository":{"id":43202598,"uuid":"248357779","full_name":"ashleve/ActiveRagdoll","owner":"ashleve","description":"From-scratch implementation of physically simulated character animation with proportional-integral-derivative controllers (PID)","archived":false,"fork":false,"pushed_at":"2023-03-05T13:15:13.000Z","size":63623,"stargazers_count":176,"open_issues_count":5,"forks_count":39,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-05-21T13:59:37.505Z","etag":null,"topics":["active-ragdoll","animation","character","controller","force","humanoid-characters","inverse-dynamics","inverse-kinematics","physics","pid","ragdoll","simple","simulation","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashleve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-03-18T22:34:28.000Z","updated_at":"2024-05-20T18:43:47.000Z","dependencies_parsed_at":"2024-01-13T23:25:08.869Z","dependency_job_id":null,"html_url":"https://github.com/ashleve/ActiveRagdoll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleve%2FActiveRagdoll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleve%2FActiveRagdoll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleve%2FActiveRagdoll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashleve%2FActiveRagdoll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashleve","download_url":"https://codeload.github.com/ashleve/ActiveRagdoll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230415318,"owners_count":18222158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["active-ragdoll","animation","character","controller","force","humanoid-characters","inverse-dynamics","inverse-kinematics","physics","pid","ragdoll","simple","simulation","unity"],"created_at":"2024-11-07T17:23:02.465Z","updated_at":"2024-12-19T10:10:13.833Z","avatar_url":"https://github.com/ashleve.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActiveRagdoll\n#### Implementing active ragdoll from scratch for humanoid characters in Unity\n\n![](gifs/active_ragdoll.gif)\n\n## What is this?\n#### This is a simple third person controller for active ragdoll driven by static animations.\n\nIt uses similar techniques as games like [TABS](https://www.youtube.com/watch?v=Z2e9vd3Znz4).\n\nIt's designed to be as simple as possible.\n\n![](gifs/balls.gif)\n\n## How does it work??\n#### TL;DR: a [PID controller](https://en.wikipedia.org/wiki/PID_controller) applies forces to ragdoll to make him follow static animator (skeleton in the gif below).\n\n[`AnimationFollowing.cs`](https://github.com/hobogalaxy/UnityActiveRagdoll/blob/master/Assets/ActiveRagdollScripts/AnimationFollowing.cs) applies animation following.\n\n[`MasterController.cs`](https://github.com/hobogalaxy/UnityActiveRagdoll/blob/master/Assets/ActiveRagdollScripts/MasterController.cs) contains all 3rd person controller logic. It makes sure static animator can't move too far away from ragdoll.\n\n[`SlaveController.cs`](https://github.com/hobogalaxy/UnityActiveRagdoll/blob/master/Assets/ActiveRagdollScripts/SlaveController.cs) controls behaviour of animation following in real time. It makes ragdoll loose strength when colliding with other objects.\n\n![](gifs/skielete.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashleve%2Factiveragdoll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashleve%2Factiveragdoll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashleve%2Factiveragdoll/lists"}