Forum Discussion
mpaul0055
12 years agoHonored Guest
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..
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
- cyberealityGrand ChampionHave you tried using the "FollowOrientation" parameter of the OVRCameraController? You may need to make your own PlayerController or modify the default Unity FirstPersonController.
- mpaul0055Honored GuestFor 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 7 months ago