
PhysAnim for Unity
PhysAnim is a Unity tool that enables physical animation through motor-based and keyframe-based ragdoll pose matching.

Quickstart Guide
Installation
To add the package to your project:
- Open the Unity Package Manager (
Window > Package Manager
). - Click "Add package from Git URL", then paste the following repository URL:
https://github.com/lenoctambule/PhysAnim-Unity.git
Usage
⚠ Important: Set your Animator’s Culling Mode to "Always Animate" and Update Mode to "Animate Physics".
- Add the Pose Match component (via
Add Component > PhysAnim > Pose Match
) to any GameObject that is not a parent of, or the object you want to physically animate. - Assign the root of the ragdoll to the reference field.
- Add a Ragdoll Profile component (via
Add Component > PhysAnim > Ragdoll Profile
). If the Pose Match field isn't auto-filled, set it to the one you just created. - If your joints are Character Joints, you can convert them using the "Convert Character Joints to Configurable Joints" button.
- Use "Auto-detect and add character joints" to populate the joint list, or add them manually.
- Tweak the settings to your liking.
There are three modes:
- Local – Matches joint rotations locally using motor constraints.
- Global – Matches global positions and rotations using interpolation.
- Global and Local – Combines both approaches. :construction_worker: (Under development)