Skip to main content
Up and Coming
June 18, 2015

Need to mirror horizontal rotations

Hey Everyone,

I'm trying to use the Samsung Gear VR (With the Oculus Mobile SDK) for some medical assessments.
Most particularly for a certain test, I need to mirror the horizontal rotations of a patient's head.

BAsically, when the patient looks to the left, I need the cameras in the rift to rotate (-) their actual look, so they look to the right. And visa versa.

Has anyone done anything of this sort, or know what code to change in the OVRManager/Device code?

Thanks,
    This topic has been closed for replies.

    3 replies

    Inspiring
    June 18, 2015
    You mean head-tracking? It should do that by default.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    June 18, 2015
    "cybereality" wrote:
    You mean head-tracking? It should do that by default.


    Yes i mean head tracking, but backwards...

    So you're in a scene wearing the oculus, and you look to your left. Normal circumstances would have the cameras rotate to the left, and have the scene shift as you would expect.
    However, i want this to be reversed, and intentionally disorienting.. So when you move your head and look to the left, the camera's actually rotate to the right. So the inverse of the direction you are looking.

    I believe i may have a solution in the works.
    I will post it here incase anyone randomly needs this again... :)

    Thanks as always Cyber!
    Inspiring
    June 18, 2015
    Ah, I get it. Are you using Unity?
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV