Skip to main content
Up and Coming
December 5, 2013

Rotate OVR PlayerController

Hi All

Im having an issue with getting the OVRPlayerController to rotate using itween.

I have moments in my game where i am disabling the Player controller Behavior so players are stuck in one place and are unable to move. What i then want to happen is for the whole OVRplayercontroller to rotate to look at a certain point before the controller behaviour becomes active again.

The main problem is i cannot get the OVRplayercontroller to rotate. I'm presuming the Oculus scripts are controlling the rotation and will not let me alter them at runtime..

Can anyone help at all? Im a bit perplexed on the best way to do this..
    This topic has been closed for replies.

    2 replies

    Inspiring
    December 5, 2013
    Have you tried using the "FollowOrientation" parameter of the OVRCameraController? You may need to make your own PlayerController or modify the default Unity FirstPersonController.
    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
    mpaul0055Author
    Up and Coming
    December 6, 2013
    For some silly reason I'd completely negated the follow orientation. I'll have a play with the tracker follows y and see what I can come up with.

    Cheers pal, will post how I get on over the weekend.