Forum Discussion

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

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..

2 Replies

Replies have been turned off for this discussion
  • Have you tried using the "FollowOrientation" parameter of the OVRCameraController? You may need to make your own PlayerController or modify the default Unity FirstPersonController.
  • 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.