Search Unity

GameObject's Postion relative to ImageTarget in Vuforia

Discussion in 'AR' started by Chaosprinz97, Jul 23, 2018.

  1. Chaosprinz97


    May 10, 2018
    Hi, I am trying and searching for hours now, hopefully someone can help me.

    In our Project we want to show people historic images of buildings which are destroyed now. So we have targets of the actual buildings which are in place of the historic ones. If Vuforia detects a Target we are projecting the historic Image on the screen. In the creation process of the target we move the historic image freely on the taken target, creating an offset in x and y axis and storin them on our server.

    Now the question is: how can I display this offset after matching. Vuforia recognises the target and displays the historic image in the center. my approach would be to calculate a relative position of the hisotric image, maybe its at 0.7 of the targets width and 0.9 of the targets height. But i cant get the width and height because the renderer is getting removed by vuforia. But even if I would get it, the Groud Plane would flickering around. I tried it with a fixed local position of 20 and the ground plane went crazy.

    Is there an other approach I can try? Thank you in advance!