/realistic-ragdoll

Realistic Ragdoll is a Unity script that adds realistic physics to your ragdoll characters. It uses the Rigidbody component to apply downward force to each part of the ragdoll, making it fall and move naturally. The script also checks if the ragdoll has come to a rest and, if so, disables and destroys itself to save resources.

Primary LanguageC#MIT LicenseMIT

Realistic Ragdoll

This is a simple implementation of a ragdoll in Unity. The script uses the Rigidbody component to apply realistic physics to the ragdoll and make it fall realistically. It also checks if the ragdoll has come to a rest and, if so, disables and destroys itself to avoid running unnecessary calculations and save resources.

Usage

To use this script, attach it to the root game object of your ragdoll hierarchy. The script will automatically populate a list of Rigidbody components in the hierarchy and apply downward force to them to make the ragdoll fall realistically.

License

This project is licensed under the MIT License - see the LICENSE file for details.