Simple Location Based AR

Danilo V

(2)
$4
Publisher Danilo V
File size 50.97kB
Number of files 7
Latest version 1
Latest release date 2022-02-08 09:52:14
First release date 2022-01-18 09:36:12
Supported Unity versions 2018.4.2 or higher

Show objects in your AR Scene on their real locations!

Simple and Intuitive to use!



DOCUMENTATION:


Simple LBAR Documentation

1. Introduction

2.Components

3.Usage

1. Introduction

Simple LBAR is a simple and easy to use solution for placing objects using given geographical coordinates in your AR scene. Currently supports Android, and requires a working GPS and Compass on your phone. The permissions are all handled, and the only requirements are to place the components on your GameObjects, and enter your values.

The values you need to provide for your objects are: Latitude, Longitude and Altitude.

Altitude is calculated in world space and is applied in reference to your AR Scene Origin.

2. Components

The main and only components of the plugin are the four scripts: DeviceLocation, LocationHandler, LocationObject and GAP

  • DeviceLocation and LocationHandler are in charge of supplying the plugin with your phone’s GPS and compass data
  • LocationObject defines an object that is going to be placed in the Scene
  • GAP calculates their positions and places them in your AR Scene.

3. Usage

The best way to get familiar with the plugin is to check out the Sample Scene; however, there are only 4 steps to using the plugin:

  • Create a GameObject that holds the DeviceLocation and LocationHandler component
  • Create a GameObject that holds the GAP component
  • Create your GameObjects which you want to place, and add the LocationObject component
  • Thats it!

Run your scene and enjoy!

Top Publisher Assets