DEV Community

Cover image for Use Vertical Tracking in Augmented Reality Using NextNav and echo3D
echo3D for echo3D

Posted on

Use Vertical Tracking in Augmented Reality Using NextNav and echo3D

1st floor, 2nd floor, 3rd floor![](https://miro.medium.com/max/542/1*Q0cB9x0owtDhwXhrEPT7Ug.gif)

NextNav Pinnacle SDK gives you precise, “floor-level” vertical positioning for any geolocation application. This is especially useful for Metaverse experiences that involve stairs, elevators, or services that require vertical triggers. Here’s how to use echo3D and NextNav together to build AR/VR apps that are aware of the device's elevation!


Click on this link or scan here to see something cool! [**https://go.echo3d.co/P2kS**](https://go.echo3d.co/P2kS) ![](https://miro.medium.com/max/1144/1*w0qe1ZrwTVdKuM9NDIqsvw.png)

Register

Setup

  • In your NextNav account, download and import their Unity Plugin

Editing Code

  • In Unity, modify the echo3D.cs script and set the two variables **<”YOUR-API-KEY">** and **<”YOUR-SECRET-KEY”>**.

  • Your echo3D API Key will appear in the echo3D console once you log in. Also, check your inbox for an automatic welcome email from echo3D with your key.
  • Your Secret Key can be found on the left pane of the echo3D console, under the Security page.

  • Edit the echo3D.cs script to query only for assets that include the metadata**z-location**. Change the**serverURL**to get entries based on data by adding **&data=z-location**.

https://api.echo3D.co/query?key=&secKey=&data=z-location

  • Change the script to use NextNav’s SDK to set the value of **z-location** based on the device’s location.

Run

Learn More

Refer to our documentation to learn more about how to use Unity and echo3D.

Support

Feel free to reach out at support@echo3d.co or join our support channel on Slack.

Screenshots

First floor

Second floor

Third floor

Try it out and sign up for echo3D and NextNav here:

More Tutorials

To learn how to make echo3D projects, try one of these:


echo3D (www.echo3D.co; Techstars 19’) is a cloud platform for 3D/AR/VR that provides tools and network infrastructure to help developers & companies quickly build and deploy 3D apps, games, and content.

Top comments (0)