Search Unity

Automated Movement w/ Google Cardboard

Discussion in 'AR/VR (XR) Discussion' started by sandsphinx, Mar 31, 2016.

  1. sandsphinx

    sandsphinx

    Joined:
    Mar 31, 2016
    Posts:
    1
    Hi everyone!

    So far (I am very new with Unity) I have been able to create a terrain, Google Cardboard is working fine and I've included the Reticule so I can target and click things (hover for 2f) etc. I am now trying to get my camera to follow a set path around my terrain over a set period of time.

    The way I tried to go about this was to set up four spheres in each corner and with a script have the position of my cardboard make its way over to Sphere 1, then Sphere 2 so on.. with vector lerp but it's not working that well. Can anyone suggest an easier way to have my camera just move slowly around my map.

    FYI: The end goal is to create a virtual reality music video, so a set speed of movement is crucial to being able to design a piece of music that will load at start and will (seem like) it's reacting to its surroundings.

    Any help would be fantastic!

    Thanks!
     
  2. Retruate

    Retruate

    Joined:
    Jul 5, 2014
    Posts:
    111
    I kind of get what you are doing, but I think a screenshot (primarily of your code) would help me with answering your problem.

    Thanks!