Search Unity

UI SET ACTIVE WITH IMAGE TARGET

Discussion in 'AR' started by h13700, Aug 14, 2018.

  1. h13700

    h13700

    Joined:
    Aug 5, 2018
    Posts:
    2
    HI
    I Want active "canvas" when image target show to the camera.
    please help me.:(
     
  2. GeneralDollar

    GeneralDollar

    Joined:
    Mar 24, 2018
    Posts:
    27
    Using cloud reco, devise database...?

    If targets are on devise, then just adding the canvas as a child to the image target should solve your problems.

    If using cloud reco, you need to create a cloud recognition handler script where you can then add whatever code you need to make whatever you want happen. Also, add the canvas as a child to the cloud image target.

    I think this answers your question, but I am sure a mod will provide a better answer in the future.
     
  3. HoneyAyaan

    HoneyAyaan

    Joined:
    Oct 19, 2018
    Posts:
    4
    I need your help in vuforia unity. When i put canvas image on image target its appear in game play. And when it track image target its lost. Again when i remove image target than again its show canvas image in display. Canvas image is a child of image target. Help me how can i solve this.
     

    Attached Files:

  4. GeneralDollar

    GeneralDollar

    Joined:
    Mar 24, 2018
    Posts:
    27
    I am a little confused with the problem you are experiencing.

    When the camera finds your image target, the childed image does not appear?
     
  5. HoneyAyaan

    HoneyAyaan

    Joined:
    Oct 19, 2018
    Posts:
    4
    Hey Thanks for Reply,
    See this image i you will understand whats the issue.


    1. In first image. imagetarget child image appears on camera.
    2. In second image, it is also coming when tracking camera started.
    3. In third image, when camera found trackable its removed automatically.
    4. In fourth image, when we removed imagetarget . imagetarget child image is appears on game view.


    This is the actual issue, Please help. Thanks For Your Consideration.
     

    Attached Files: