How to measure distance using ARCore?
In Java ARCore world units are meters (I just realized we might not document this… aaaand looks like nope. Oops, bug filed). By subtracting the translation component of two Poses you can get the distance between them. Your code would look something like this: On first hit as hitResult: startAnchor = session.addAnchor(hitResult.getHitPose()); On second hit … Read more