Search Unity

Cloud anchors - colliders - triggered when player gets close to the spawned object

Discussion in 'ARCore' started by nataliw, May 29, 2019.

  1. nataliw

    nataliw

    Joined:
    Jul 22, 2016
    Posts:
    6
    Hi there,

    I've added a collider on the spawned object prefab (i.e. the star) in the cloud anchor scene, made it into a trigger and added another collider on the first person camera within ARCore with a script with OnTriggerEnter(), but no matter how big the colliders no event is detected.

    Does anyone have any suggestions?

    Thanks!

    N.
     
  2. nataliw

    nataliw

    Joined:
    Jul 22, 2016
    Posts:
    6
    Update- it works.