• Brandon Jones's avatar
    Fix the controller being locked in place with 6DoF systems · e7f760bc
    Brandon Jones authored
    gvr's Arm model apparently does not take into account the user's head position
    on 6DoF systems, leaving the arm model "locked" in place near the origin. This
    change manually offsets the controller model by the head's position so that the
    arm model for the controller stays at a constant relative position to the head.
    This yields behavior that matches Google's other first-party VR applications.
    
    Bug: 831610
    Change-Id: Id5cf7013c5b671e320304cd78bc80abd11580300
    Reviewed-on: https://chromium-review.googlesource.com/1058558
    Commit-Queue: Brandon Jones <bajones@chromium.org>
    Reviewed-by: default avatarAmirhossein Simjour <asimjour@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#558833}
    e7f760bc
vr_shell_gl.cc 97.7 KB