Forum Discussion

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

Follow Orientation Does Not Work from the Inspector

I open my Tuscany demo in Unity. Drop a cube in the scene. Set OVRCameraController' Follow Orientation parameter to the cube. Hit play. Then, in the inspector I change the cube's Y rotation left and right. I'm expecting the camera to follow the rotion of the cube and also rotate left and right but nothing happens.

I also tried setting the cube as the parent of the OVRCameraController and even setting the OVRPlayerController to the Follow Orientation parameter but when I rotate from the inspector nothing happens.

I read the short documentation on this and it seems pretty clear but apparently I'm not understanding how this is supposed to work.

2 Replies

Replies have been turned off for this discussion
  • Gerald's avatar
    Gerald
    Expert Protege
    I might remember this wrong, but I think that rotation changes in the editor did not work while doing the same through code did.
  • drash's avatar
    drash
    Heroic Explorer
    It doesn't sound like you're using the new 0.4.3 Unity integation, but FYI there's no more "Follow Orientation" in 0.4.3 as it now simply updates the localRotation of the eye transforms instead of their absolute rotation. This means that if you rotate the whole camera rig, the eyes will be offset by that in a natural way.