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’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

AR/VR Aplication for Android

Discussion in 'VR' started by PrzemyslawBaran, Aug 13, 2020.

  1. PrzemyslawBaran

    PrzemyslawBaran

    Joined:
    Jun 8, 2020
    Posts:
    2
    Hello. I create android applications in which the object can be viewed by walking around it (AR) and I have a problem because I would like to use VR goggles (CardBoard type), but when I mark in the options that the application should be of this type, the object does not stand still in one place but it "sticks" to the lens and moves with the phone. without VR everything works as it should. Is it possible to go into VR mode with my application and phone (without professional and expensive goggles),where object is stationary in space,and I can walk around it in the room with gogles (of course the background is from the phone camera) where something I miss? please help.
     
  2. Kent1LG

    Kent1LG

    Joined:
    Dec 3, 2019
    Posts:
    19
    Hi PrzemyslawBara,

    Hope you're well.
    I don't think the android VR (Google carboard like) provide access to other movement than head rotation,
    and I don't think MRTK support this kind of technology.

    You can create an AR Foundation application instead but you're not gonna have your phone at eyes level.

    Quentin LG
     
  3. PrzemyslawBaran

    PrzemyslawBaran

    Joined:
    Jun 8, 2020
    Posts:
    2
    I aktualy use AR Foundation, problem is just to convert normaly view to that VR view.
     
  4. Kent1LG

    Kent1LG

    Joined:
    Dec 3, 2019
    Posts:
    19
    Ok.
    So, did you already set the scene with ARFoundation?
    I think you can make a classic AR Foundation scene (AR Session and AR Session Origin at least) then if you already use a camera for the VR, copy the position and rotation of the AR Foundation camera to the one you need.