Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

NavMesh and AR

Discussion in 'AR' started by erikaboschramirez, Jun 17, 2020.

  1. erikaboschramirez

    erikaboschramirez

    Joined:
    Jan 24, 2020
    Posts:
    1
    I am trying to use agents (many different small animals on a 1x1 meter big printed map) on Nav Meshes that will be walking there. But as soon as I open the App to try it, all the animals are floating just on front of me and not on the real world object that I assigned to (through image tracker). How can I solve this? I have heard using runtime? how the hell do I do this?
     
  2. KirillKuzyk

    KirillKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    112
    You need to subscribe to image tracking changes in ARTrackedImageManager.trackedImagesChanged and then spawn your animals on top of detected images.
     
unityunity