Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

AR Asset Always Face User

Discussion in 'Assets and Asset Store' started by heavy, Aug 25, 2011.

  1. heavy

    heavy

    Joined:
    Jul 20, 2011
    Posts:
    43
    HI -

    Is it possible to have the AR asset, let's say it's a 2D image (jpg) on top of a plane (in unity) "track" to the users position in real life? In other words, if I want to have an AR asset to always face the user in the camera view no matter where they are standing in relation to the trackable. I assume that there is a relative positioning script.

    Many thanks.
     
    Last edited: Aug 25, 2011
  2. handsomePATT

    handsomePATT

    Joined:
    Nov 30, 2010
    Posts:
    574
    have it look at the camera using Transform.Lookat. when i did it i didnt use the y rotation though otherwise it wont look like its on the image