dorkhub

ActiveRagdoll

From-scratch implementation of physically simulated character animation with proportional-integral-derivative controlle…

ashleve
C#26041 forksMITupdated 3 years ago
git clone https://github.com/ashleve/ActiveRagdoll.gitashleve/ActiveRagdoll

ActiveRagdoll

Implementing active ragdoll from scratch for humanoid characters in Unity

What is this?

This is a simple third person controller for active ragdoll driven by static animations.

It uses similar techniques as games like TABS.

It's designed to be as simple as possible.

How does it work??

TL;DR: a PID controller applies forces to ragdoll to make him follow static animator (skeleton in the gif below).

AnimationFollowing.cs applies animation following.

MasterController.cs contains all 3rd person controller logic. It makes sure static animator can't move too far away from ragdoll.

SlaveController.cs controls behaviour of animation following in real time. It makes ragdoll loose strength when colliding with other objects.

more like this

uchroma

An advanced driver for Razer Chroma hardware in Linux with multi-layer animation support

Python52

magic-home

A CLI and library written in Go for controlling Magic Home (Magic Hue) LED Strip Controllers.

Go55

search

search projects, people, and tags