Skip to main content
Up and Coming
March 8, 2015

Unity Disable Mouse Look

I only want the user to control their vision with their headset, not by using the mouse.

How do I disable mouselook in Unity while preserving headset look?

Thank you.
    This topic has been closed for replies.

    3 replies

    Up and Coming
    March 12, 2015
    Bump. Anybody accomplished this in a Unity DK2 app? Thanks.
    New Participant
    March 12, 2015
    Not sure about the base OVR as I attached the OVR camera rig to Unity FPS controller. That one calls a mouselook.cs script, in the first line of update() is a call to updateview I believe (not available to look right now) there it just calls a single method to mouselook script it instantiated that handles all the mouse look stuff, clamping all that jazz.

    Then just grab replace that call with your own if any
    Up and Coming
    March 12, 2015
    Hi, I just duplicated an OVR camera prefab, named it something new and then unchecked any script/sections within relating to mouse movement. Worked fine.
    j.j. morris - tekrok - https://share.oculus.com/app/tekrok