Problem whit rigging a leg

Hi there, im riggin a leg using Inverse Kinematics, i put on the controller bone in the feet and the pole bone in the knee, but when i move the leg to much to the top the upper leg bone goes crazy and twist the whole leg, the only bone moving like crazy is the upper one, how can i fix that?
i put some pictures and the Blender File if it helps

Thank you in advance =)manuelsencillo.blend (746 KB)

Attachments



It’s trying to point at your pole targets. Where are they? They are down when you move way up. Easy solution is to move them up on Z. Nothing says you can’t animate them. You need a root bone. That normally is where they are parented, but you still can move them if needed.