What do you mean with not oriented in the same direction? I exported the joints in 2 different ways, one where they are all aimed at their child so bonus only have an X translate value (which is usually the standard) and the other where all joints are in world orientation. Both resulted in the mesh warping.