Skip to main content
Up and Coming
June 17, 2013

Oculus Camera object rotation

Hi,
I am new to unity but I have a basic scene, I am trying to add the Oculus camera to a Car object.
when I add the OVR camera to the car I can drive forward,backward , left and right but I cannot rotate the vehicle using a controller. it turns the camera round instead. Also when I look around using the headset it rotates the camera and the vehicle at the same time instead of just looking around.
Any advice would be greatly appreciated please
Regards
    This topic has been closed for replies.

    3 replies

    Inspiring
    June 17, 2013
    Can you upload a simple demo that illustrates the problem?

    I can take a look and see if I can fix it. Thanks.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    sh0v0r
    Up and Coming
    June 17, 2013
    "camster" wrote:
    Hi,
    I am new to unity but I have a basic scene, I am trying to add the Oculus camera to a Car object.
    when I add the OVR camera to the car I can drive forward,backward , left and right but I cannot rotate the vehicle using a controller. it turns the camera round instead. Also when I look around using the headset it rotates the camera and the vehicle at the same time instead of just looking around.
    Any advice would be greatly appreciated please
    Regards


    Have you attached the correct Prefab?

    In your case you want the OVRCameraController, it sounds like you have added an OVRPlayerController which is probably intercepting your controller inputs to steer.
    Inspiring
    June 18, 2013
    If you use the OVRCameraController (not OVRPlayerController) then you can add the car's transform into the "Follow Orientation" parameter. This will make the camera feel like it's inside the car.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV