# Aligning bones' axes to the global axes

I am using the quaternion rotation mode to rotate bones into poses for an animation. For some of my bones, when I increase the X value of the quaternion the bone rotates around the y axis instead. For other bones this does not happen.

I have set all my bone rolls to 0, in case that makes a difference. How can I make all of my bones rotate around the same axis when I modify the same value of their quaternion?

update:

I have discovered that in pose mode bones use the vector from their head to their tail as the y axis and the roll affects the orientation of the x and z axes. Still looking for a way to change these to the global axes.

• if you're not set on Quaternion, I can only recommend using euler, it's much more intuitive and easier to correct in the graph editor – Spiderguy Feb 15 '14 at 6:52

You can recalculate roll, (Armature -> Bone Roll -> Recalculate Roll), or Shift+N