editbone.align(vector), to align the bones z axis to a localspace direction. finished leg rig pose mode data