Forum Discussion

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

Keyboard Debug override for Head rotation?

Hi,
Does anyone have a good solution to override the OVR camera rotation via keyboard control (for debugging)? I have a game that is built to only really be playable on the Oculus but its a pain to constantly switch it in (duel monitors) when working on something I don't really need to "playtest". Thoughts?
Thanks!

1 Reply

Replies have been turned off for this discussion
  • You could use OVRPlayerController, which lets you rotate the camera using the Q and E keys or with a gamepad or mouse. OVRCameraRig only sets the eye cameras' local poses. You can make it a child of another GameObject and attach a script with whatever camera movement logic you need.