I have an armature made for my mesh, but I am having trouble with the rigging for the legs. Here is a front and side view of the legs as they are supposed to look on the mesh.
I am attempting to set the bone on the far left in that picture above as the pole target for the shin bone so that the knee will bend out in the correct direction. That results in twisting my leg around 90 degrees though.
If I rotate the pole angle until the mesh is no longer twisted then the knee no longer bends in the correct direction
I have tried clearing rotations on all of the bones involved and then reapplying the pole target but that didn't seem to make any difference. Can someone help me understand this? Here's the .blend file too: http://www.2shared.com/file/cacqtceK/revelate.html