GitPedia

Unity clean IK

An easy to use IK solver implementation for character controllers.

From biggzlar·Updated February 12, 2026·View on GitHub·

This is a barebones implementation of an IK solver, based on a Unity Example for Blendtrees. It includes repositioning and rerotation of the feet, as well as a collider displacing method, that pushes the character controller's collider upwards when there is no other way to ground both feet. The project is written primarily in C#, first published in 2016. Key topics include: c-sharp, character-controller, csharp, ik-solver, inverse-kinematics.

Unity_clean_IK

This is a barebones implementation of an IK solver, based on a Unity Example for Blendtrees. It includes repositioning and rerotation of the feet, as well as a collider displacing method, that pushes the character controller's collider upwards when there is no other way to ground both feet.

The repo is rather unorganized, so focus on the centerpiece Assets/Scripts/CleanIK.cs!

Setup:

  1. Set up your scene and characters (make sure the characters possess a character controller)
  2. Add the CleanIK script to your characters
  3. Assign the feet transforms respectively
  4. Test the scene and adjust foot offset
  5. Enable ik and rotation

Alt text

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from biggzlar/Unity_clean_IK via the GitHub API.Last fetched: 6/20/2026