Search Unity

Question AR video on image, playing without tracking after image found

Discussion in 'AR' started by Lojtra12, Jul 20, 2022.

  1. Lojtra12

    Lojtra12

    Joined:
    May 4, 2017
    Posts:
    80
    Hello, a quick question
    I have an image on which we put a video, and it plays when image found, and it works until camera is tracking that image. But is it possible that, when video starts to play, we do not need to track image and video still plays? Thank you
     
  2. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,026
    Do you need that video continues to play with displaying to user or in background without displaying?

    Here, in my AR Video Player asset, I've implemented next: video continues to play in the background with sound, but without displaying for the user; so when tracking is becoming active again, then the video player UI is updated appropriately.
     
  3. Lojtra12

    Lojtra12

    Joined:
    May 4, 2017
    Posts:
    80
    I need it to play normalo, just without tracker, with displaying
     
  4. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,026
    So, then, why you need to play video in AR? Just read the image marker to identify the video you need to play, and then play the video on Overlaying UI Canvas, and not in scene space.
     
  5. Lojtra12

    Lojtra12

    Joined:
    May 4, 2017
    Posts:
    80
    That is why the question. How to do it.