Search Unity

Scale relation between real and virtual world, with steamvr (HTC vive)

Discussion in 'AR/VR (XR) Discussion' started by samjoly, May 19, 2016.

  1. samjoly

    samjoly

    Joined:
    Apr 23, 2013
    Posts:
    30
    Hi team,
    I'm working with the steamvr (HTC vive), and I'm trying to change scale relation between real world and virtual world. Like if "worldscaleFactor == 2", one step in the real world would be two steps in the virtual world.
    Also ideally the new scale factor would only apply on the x and z axes.

    Probably not the best practice in a game, but it's for an experimental project.

    Please let me if you have any clue.
     
  2. tango209

    tango209

    Joined:
    Feb 23, 2011
    Posts:
    379
    Not sure that would work well without foot tracking.

    You might try to track body position by only updating it when the head moves a good distance from that position (normal head movement distance excluded so when the cock there head, for instance, it doesn't manually move the character position.

    The "standard" seems to be teleporting, but I don't think that will work well for some types of games.

    I'm planning to use the touchpad to do movement of the 'room' space in the game world.
     
  3. samjoly

    samjoly

    Joined:
    Apr 23, 2013
    Posts:
    30
    Thanks for your idea Tango209! I'll try it out and keep you posted. And good catch on excluding simple head motion.