Forum Discussion

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

Oculus Rift Scripting

Hello Everyone,

Question: I am able to get the Oculus Rift working in Unity 4.6. but how switch back to my Main camera
I need to swop between the Oculus Rift and my Main Camera
I am using the Unity Engine 4.6
anyone have a Simple Script to so this...

Thanks so much

:roll: Oculussssss

2 Replies

  • Edudjr's avatar
    Edudjr
    Honored Guest
    You just need to enable/disable the camera objects.
    For instance:
    gameObject.SetActive(false);
  • what is it that your doing?

    What I hear you saying is:
    I need to move the players POV in space while simultaneously switching from HMD view to the 2d Monitory view..

    Are you expecting the player to take off the HMD to see the 2d screen?

    Thats doable, but is that what you mean?


    By the way, that is an interesting idea.. switching from 3d to 2d in the hmd.. fun challenge.. could be a real brain bending effect..