Issue with Control Rig Basic IK rotation

Hey All,
I’m having an issue with a portion of my control rig. It seems that when I create an effector using the Basic IK, all of the bones above the effector change their rotation to zero and none rotate properly. I’ve shown my issue in the following video. It’s probably something super simple but any advice would be great! Thank You!

I have only started something similar myself, but I think you need to have the Primary Axis (first bone) and Secondary Axis (second bone) with the vectors pointing ‘down’ towards the controller.

If you right click leg2 in the hierarchy and select Control Bone Transform it will show you the current vector. For leg2 you need to assign the secondary axis to that which is pointing down eg in the image below it will be X 0, Y -1, Z 0. Do the same for the Primary Axis.


I watched the following youtube (In French but with good subtitles) that helped me out. Good luck.

Thank You! This has gotten me started. Now my AT-AT’s lower and upper legs are connected BUT the “thigh” or upper oval gear is not attached to the upper leg. The rotation is off. Do you have any thoughts as to why this is the case? I changed the primary axis in the Z direction to -1 and that solved the first problem. I was hoping by changing the values in the secondary axis it would solve the upper oval gear issue but unfortunately it did not.