2D Leg Rig IK setup

I’ve looked up various tutorials on 2D cut-out animation with 2D in Blender 2.6 - Tutorial (Part 1) | ALBINAL - Animation … being a very good one. However, the moment I get into IK and rigging them myself, things go a bit haywire.
https://dl.dropboxusercontent.com/u/44789313/leg.blend


Because I have each bone restricted to rotate only on the Z-axis, The IK can’t seem to find a good bend and so it glitches into an improper movement. Is there a way to get this to work without the glitches?

Also, any other suggestions for how to improve (or redo) my rig would be greatly appreciated.

IK rotation restriction is done in the IK panel of the bone properties, and you have restricted the rotation in the transform panel. When properly done you will see an arc in pose mode showing you the range of motion

Yeah, I see the blue curves when I have the bone with IK restrictions selected. I don’t think I have any rotations restricted in the transform panel.

Alright I figured it out. I needed to have the bones slightly bent in pose mode BEFORE I turn on IK.

Yeah, I’m pretty happy with my rig and putting it here in case anybody else needs help learning how to make a 2D rig.
https://dl.dropboxusercontent.com/u/44789313/tnelsond_2Drig_01.blend

EDIT: So yeah, umm this is solved. How do I change the title?