Here’s an easy demo for creating a simple measurement application (i.e., AR ruler app or tape measurement app) using AR Foundation, Unity, and echoAR. Tested on Android devices. The full demo can also be found on echoAR’s GitHub.
Register
If you don’t have an echoAR API key yet, make sure to register for FREE at echoAR.
Setup
- Clone this repository for prefabs,scenes and custom scripts.
- Open the project in Unity and follow the instructions on our documentation page to set your API key.
- Set your echoAR API key in the echoAR prefab
- Add models to your echoAR project
Run
You can measure real-life objects!
Usage Instructions:
The app has two modes:
- Object Placement mode, which allows you to place an EchoAR object on any plane
- Measurement Tape mode, which allows you to drag your finger between any two points on a plane to create a measurement.
- You can easily switch between modes by clicking on their respective buttons in the UI.
- Note that because both modes depend on plane detection, it may take a few seconds to move your camera around before the plane you are trying to measure may register.
- Remember: if the placed Object is too large, you can modify the scale of the object in the EchoAR console (see docs.echoar.xyz/unity/transforming-content)
You can measure custom AR objects!
Learn more
Refer to our documentation to learn more about how to use Unity, AR Foundation, and echoAR.
Support
Feel free to reach out at support@echoAR.xyz or join our support channel on Slack.
echoAR (echoAR.xyz; Techstars ’19) is a cloud platform for augmented reality (AR) and virtual reality (VR) that provides tools and server-side infrastructure to help developers & companies quickly build and deploy AR/VR apps and experiences.