Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jaymalloy's avatar
jaymalloy
Honored Guest
12 years ago

Camera Height control during Game simulation with Unity?

I'm trying to figure out why the camera height/player height cannot be changed in game mode. I'm using a flat terrain, yet the normal keystrokes (5 and 6) are not working. I''m running on a Mac OS 10.6.8 platform, and I'm able to use the height controls in the stand-alone demo (keystrokes + and -). Thanks!

5 Replies

Replies have been turned off for this discussion
  • It doesn't seem like the 5/6 keys work on the pre-compiled demo, but if you get the Unity files and compile yourself it does work.
  • The latest build scene sets a variable on in OVRPlayerController->OVRCameraController called UsePlayerEyeHeight. This will take the eye height set by the configuration tool. If you are playing with the Tuscany demo out of the box from the latest integration (0.2.3) you may find that this is stopping you.

    Just turn UsePlayerEyeHeight off and 5/6 should start working again. It should only happen if you have a profile set up via the Config Tool.