title: Unity3D Vectrosity 3.0 Line between GameObject and UI item
body: <p>I'm using Vectrosity to draw a line between my 3D <code>GameObject</code> and a <code>UI</code> element. However, I'm struggling to convert the <code>RectTransform</code> position data so I can pass it to the drawline function.</p>
  
  <p>I've been experimenting with getting the RectTransform position of my desired <code>UI</code> elements and trying to draw a line between them. However, this doesn't work. When I change the code to make use of normal 3D objects in my scene, the line appears as intended. This is the code that I currently have been playing with:</p>
  
  <pre><code>  void Start ()
  {
  
    //  points[0] = image.rectTransform.transform.position;
    //  points[1] = image2.rectTransform.transform.position;
  
      points[0] = obj1.transform.position;
      points[1] = obj2.transform.position;
  
      line = new VectorLine("Line", points, mat, 2.0f, LineType.Continuous);
      VectorLine.canvas.sortingOrder = 1;
      VectorLine.SetCanvasCamera(Camera.main);
  
  }
  
  // Update is called once per frame
  void Update () {
      line.Draw();
  
  }
  </code></pre>
  
  <p>The first commented out line get the positions of my 2 <code>UI</code> objects fine, but nothing appears on the screen. The uncommented out line work fine. Is there something I'm doing wrong here? </p>
  
  <p>All of the above is done in a 3D scene. I'll be having my camera orbit, rotate and zoom around the 3D object and would like the line to remain consistent</p>