Log in or register to post comments

LookAt (GameObject)

April 30, 2018 - 3:31pm #1

Hi,

i have 2 ImageTargets in my scene.

I'm trying that both GameObjects are constantly facing each other.   (like in this video: https://www.youtube.com/watch?v=Z-rJGOgoTzo  )



Without Vuforia this works with:

  transform.LookAt (GameObject.FindGameObjectWithTag ("enemy").transform.position);

  transform.eulerAngles = new Vector3 (0, transform.eulerAngles.y, 0);

 

Any ideas how i can do this with vuforia?

Thank you.

Log in or register to post comments