i started using the ik in my project and wanted to use ik to make the character feet more realistically touch the ground. I started writing a script when i saw the foot ik button in the animator window. I look it up in the docs but i could not find out what exactly it does. When i click it it changes the animation sometimes better sometimes worst can someone tell me exactly what it does.
Read this blog article about Mecanim Humanoids. What does the ‘Foot IK’ toggle does is explained in the “IK Solver” section in that blog post. You can also read the full article for more info on IK in Unity.
One point in modern Unity (2018 +)
There’s a very simple/annoying problem …
You actually have to turn on IK in the obscure “layer” setting on the Animator. (On the base layer.) Unity accidentally leave it turned off by default (in 99.9% of cases you want it turned on, all normal walking or moving characters.)
Here’s the Unity page on the issue … Unity - Manual: Inverse Kinematics