Forum Discussion

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

Basic Unity Question with Rift

So I have a scene I imported into Unity (OBJ/MTL etc). Renders fine, imported the Oculus plugins no problem, outputs the the rift just fine.

However, the head tracking is turning the entire scene instead of just the Player camera. I know this is such a basic thing but I'm completely new to Unity so would appreciate if someone could tell me what I'm doing wrong.

3 Replies

  • arjunt1's avatar
    arjunt1
    Honored Guest
    Looks like my head tracking camera doesn't turn on when the scene starts, it works in other demos though. Hmmmm.
  • Oneiros's avatar
    Oneiros
    Honored Guest
    Are you just pressing play, or building the exe and running it? I've been told the play feature in Unity doesn't work very well with the rift.
  • It sounds like you might have the OVR camera scripts attached to your content instead of a player controller

    In a new scene, import your OBJ and then drag over the OVRPlayerController Prefab as a separate object in the hierarchy . just make sure you have colliders on your mesh or you'l drop through to infinity