title: AR camera distance measurement
body: <p>I have a question about AR(Augmented Reality).</p>
  <p>I want to know how to show the distance information(like centermeter...) between AR camera and target object. (Using Smartphone)</p>
  <p>Can I do that in Unity ? Should I use AR Foundation? and with ARcore? How to write code?</p>
  <p>I tried finding some relative code(below), but it seems just like Printing information between object and object, nothing about &quot;AR camera&quot;...</p>
  <pre><code>var other : Transform;
  if (other) {
      var dist = Vector3.Distance(other.position, transform.position);
      print (&quot;Distance to other: &quot; + dist);
  }
   
  </code></pre>
  <p>Thank again!</p>