I tried to make a script that will align foot to the surface but it doesnt work correctly so
im asking for help. I was inspired by Matt_Goles to write this script and basically its a connection of 2 scripts bullet_hole.py by Social and script for moving bones by Matt_Goles :eyebrowlift:
So the script works but foots update too slow and rotate only in one direction thats the main problem. I attached an easy test scene.
PS. Sory for my english
Now it also align foot Z position to slope
test.blend (319 KB)