Skip to main content
New Participant
August 12, 2018

Mouse not working with Oculus OVRPlayerController

Hi! To test out the Oculus Rift in Unity (I have version 5.6.3p2) I created a new project, imported the OculusUtilities package, created a plane and a cube and dragged the OVRPlayerController prefab into the scene. When pressing "play" the WASD (and Q and E for step rotation) controls work fine, but I can't rotate using the mouse. What am I missing?
This topic has been closed for replies.

1 reply

thomerowAuthor
New Participant
August 15, 2018
What is your use case for needing mouse input?
I still have the old DK2 headset without the touch controllers and want to move around using the "classic" combination of the WASD keys and the mouse to rotate the player.

I already made a small app in 2016 using the OVRPlayerController prefab and back then mouse rotation was part of it.

In the meantime I found out that the current version of OVRPlayerController still has mouse rotation built in but it is disabled by default. To enable it, the private member bool SkipMouseRotation of class OVRPlayerController in the script file OVRPlayerController.cs simply has to be set to false.