Nodes in ortho queue not appearing

I am trying to create a quad, insert it into the ortho queue but it isn't appearing



public void setupUI (Renderer renderer, Node rootNode) {
        Quad q1 = new Quad("Ortho Q1", 20, 20);
        q1.setLocalTranslation(universe.getChild("Sphere1").getWorldTranslation());
        q1.setZOrder(1);
        q1.setDefaultColor(ColorRGBA.green);       
        q1.setLightCombineMode(Spatial.LightCombineMode.Off);

        q1.setCullHint(Spatial.CullHint.Never);
        q1.setRenderQueueMode(Renderer.QUEUE_ORTHO);

        q1.updateRenderState();

        rootNode.attachChild(q1);

    }



When I comment the line q1.setRenderQueueMode(Renderer.QUEUE_ORTHO); I can see the green square where I want

i think thats the problem:

q1.setLocalTranslation(universe.getChild("Sphere1").getWorldTranslation());



Probably Sphere1 is a object which uses 3d coordinates, but in ortho mode you need to use screen coordinates.

try: q1.getLocalTranslation().set(50, 50, 0);

That was right, the Z coordinate should be set to 0. Thanks!