Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
plyrek's avatar
plyrek
Protege
10 years ago

OVR MousePointer and dual monitors

So I have been able to implements the new Unity UI scripts Oculus provided in Novembers blog (Thank you Oculus!!!) but I am having a problem with the OVR MousePointer script.

Unlike in the demo from Oculus in my project the active area for mouse input is very large. I also have a dual monitor setup. As a result I often move the windows cursor further than the in Rift cursor and it ends up on the second monitor. Then when I click I lose windows focus on my program and it stops updating causing the "everything is moving with my head" motion sickness problem.

How can I limit the windows cursor to just the one monitor.

Any help or hints would be greatly appreciated.