Search Unity

"ride' camera in VR. How to move camera but let user pan with HMD?

Discussion in 'AR/VR (XR) Discussion' started by vanroyko, Dec 1, 2017.

  1. vanroyko

    vanroyko

    Joined:
    Nov 29, 2017
    Posts:
    1
    Hi

    I am relatively new to unity so I don't exactly know how to search for this particular technique. I basically want to make a camera that moves through a unity environment but allows the user to turn their head and look at the passing scenery. IE- Imagine you were in Google Earth VR and the camera moved automatically down a street but you could look 360 degrees around. Basically the effect of being in a vehicle.

    What kind of technique (and tutorials) should I look into for this?
     
  2. dmennenoh

    dmennenoh

    Joined:
    Jul 1, 2015
    Posts:
    379
    You simply need to animate the camera position... nothing more to it actually.
     
  3. michaelhester

    michaelhester

    Joined:
    Jan 4, 2017
    Posts:
    3
    Have your VR camera rig be the child of a game object. You can then do whatever to that object and the user will still be able to look around with the HMD.