Forum Discussion

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

Camera position

Hi,

I have the unity 5.1.2f1 and the Oculus Rift DK2.
When the oculus is off, i can retrieve the Camera.transform.forward vector.
But when i turn on the Oculus, the forward vector stays 0. It only changes when i move the mouse.
I'm using the same camera and i can see all the movements correctly with the oculus on.

What can I do to have the forward axis values moving with the oculus?

Thank you.

2 Replies

Replies have been turned off for this discussion
  • Sorry.
    I found out what was my problem.
    The mouse movement script was overriding the oculus movements. :lol:
    That's why the forward wasn't giving me any value.

    Thank you for the reply. ;)