Forum Discussion
BluePotato
10 years agoHonored Guest
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.
How do I disable mouselook in Unity while preserving headset look?
Thank you.
3 Replies
Replies have been turned off for this discussion
- BluePotatoHonored GuestBump. Anybody accomplished this in a Unity DK2 app? Thanks.
- InvictumHonored GuestNot 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 - jmorris142ExplorerHi, I just duplicated an OVR camera prefab, named it something new and then unchecked any script/sections within relating to mouse movement. Worked fine.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 8 months ago