Search Unity

Resolved Cloud Anchor Prefabs (World Anchor)

Discussion in 'AR' started by leepu, Jan 9, 2021.

  1. leepu

    leepu

    Joined:
    Nov 2, 2020
    Posts:
    2
    this story is ARcore Cloud Anchor .


    when I resolve prefab or prefab pose on plane, i touched button to moving .

    it was not work.

    so I added same controll button in prefab's canvas.

    it is work !!

    after then..

    i try to two time this.

    1. prefab follow arcamera(add scripts on prefab)
    it is not work!
    2. added collider at arcamera, and when prefab touch arcamera collider, setactive(true) some thing
    it is not work!

    so.. i think. when host prefab or pose on plane, it is position other world.

    My Q is this.

    how can I get ARcamera Position for move prefab(on update) and setactive Collider(for OntriggerEnter)??? (of couse add Scripts on Prefab)
     
  2. leepu

    leepu

    Joined:
    Nov 2, 2020
    Posts:
    2
    that, my script problum!! no miss!!
     
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820