[OPEN-SOURCE] Machinery Modelling Toolkit

Check that your bones are not scaled. The “LookAt” function works the best when mesh is aligned along the X axis of the bone.