code: public static void attachLocalCoordinateAxes(Node node, float size, AssetManager assetManager, Node rootNode) {
          
          Node n = new Node();
          n.setLocalTranslation(node.getWorldTranslation());
          rootNode.attachChild(n);
          
          Arrow arrow = new Arrow(node.getWorldRotation().mult(Vector3f.UNIT_X).normalize().mult(size));
          arrow.setLineWidth(4); // make arrow thicker
          putShape(arrow, ColorRGBA.Red, assetManager, n);
  
          arrow = new Arrow(node.getWorldRotation().mult(Vector3f.UNIT_Y).normalize().mult(size));
          arrow.setLineWidth(4); // make arrow thicker
          putShape(arrow, ColorRGBA.Green, assetManager, n);
  
          arrow = new Arrow(node.getWorldRotation().mult(Vector3f.UNIT_Z).normalize().mult(size));
          arrow.setLineWidth(4); // make arrow thicker
          putShape(arrow, ColorRGBA.Blue, assetManager, n);
      }
docs: Code based on http://jmonkeyengine.org/wiki/doku.php/jme3:advanced:debugging