Search Unity

Releasing 'AR + GPS Location' package for location-based AR with AR Foundation

Discussion in 'Handheld AR' started by dmbfm, Dec 17, 2018.

  1. dmbfm

    dmbfm

    Joined:
    Apr 13, 2016
    Posts:
    15
    Hey guys!

    I just released the 'AR + GPS Location' package on the Unity Asset store! My first release package actually!

    It can be used to create location-based AR experiences using AR Foundation --- though support for the Unity-ARKit-plugin is on our roadmap.

    Some of the features:
    • Place 3D Objects in geographical positions defined by their latitude, longitude and altitude.
    • Place 3D Text markers on real-world points of interest (example using OpenStreetmaps is included.)
    • Smooth movements on device location and heading updates.
    • Move objects or place them along paths (Catmull-rom splines) on the map.
    • Augmented reality floor shadows.
    • Double precision vector structs, DVector2 and DVector3.
    • General purpose Catmull-rom curves and splines.

    You can check it out at: https://assetstore.unity.com/packages/templates/systems/ar-gps-location-134882

    And a very simple video showcase:


    Since it is my first published package, feedback and feature requests are more than welcomed.

    If you have any questions, just ask them here or write me via email: daniel.mbfm@gmail.com


    Thanks!
     
  2. wilwilwil

    wilwilwil

    Joined:
    Jul 27, 2012
    Posts:
    12
    Hello, I got following error message..

    Assets/ARLocation/Scripts/ARLocationManager.cs(11,22): error CS0234: The type or namespace name `ARFoundation' does not exist in the namespace `UnityEngine.XR'. Are you missing an assembly reference?

    How can I fix it??
     
  3. wilwilwil

    wilwilwil

    Joined:
    Jul 27, 2012
    Posts:
    12
    Oh. My bad. But you'd better inform buyers about installing AR foundation.
     
  4. dnoparker

    dnoparker

    Joined:
    Aug 28, 2013
    Posts:
    60
    How accurate is it at larger distances? Let's say I wanted to stick an object on a building a mile away.
     
    newguy123 likes this.
  5. dmbfm

    dmbfm

    Joined:
    Apr 13, 2016
    Posts:
    15
    For objects that are really far away I would say it depends heavily on the compass accuracy which, in
    my experience, can vary a lot from device to device. This is because small deviations in the angle will
    cause large distance displacements.

    I will make a test for a similar scenario and post my results here.
     
  6. dmbfm

    dmbfm

    Joined:
    Apr 13, 2016
    Posts:
    15
    It's quite explicit on the page and on the docs that you need to install AR Foundation. Now we also
    support Vuforia actually (update pending for review on the Asset Store)
     
  7. dnoparker

    dnoparker

    Joined:
    Aug 28, 2013
    Posts:
    60
    That would be wonderful! thank you.
     
  8. sahilraut172

    sahilraut172

    Joined:
    Mar 30, 2019
    Posts:
    1
    isn't a free version available? student here and really want to use this asset.
     
    danielos1996 likes this.
  9. danielos1996

    danielos1996

    Joined:
    Sep 6, 2018
    Posts:
    3
    Yeah or even a stripped back demo version for testing purposes. I have been burned too many times with AR in things like mapbox.
     
  10. donsh1

    donsh1

    Joined:
    Apr 25, 2018
    Posts:
    2
    Hi Daniel, Thank you so much for this package. I've been testing it out and followed the Vuforia set up, however the game objects with different co-ordinates always seem to follow the camera without allowing me to walk past it. Not sure where I am going wrong. The device tracker is to 'Positional' and followed the steps in the documentation. I'm trying to achieve something like the tree video you did. Thank you for the help.
     
  11. donsh1

    donsh1

    Joined:
    Apr 25, 2018
    Posts:
    2
    Sorry had abit more testing - my model scale was huge in relation to the co-ordinate, works better now in relation to the GPS. All fixed now!
     
  12. Lojtra12

    Lojtra12

    Joined:
    May 4, 2017
    Posts:
    36
    Hello, is there any chance of a trial version? I would like to test it before the purchase, is that a possibility?
     
  13. andrus1989

    andrus1989

    Joined:
    Jun 9, 2017
    Posts:
    1
    Hello. Is there a regulator of maximum distance? I read documentation and don't fined something like it.
     
    Last edited: Jul 31, 2019