Forum Discussion
akabane
12 years agoHonored Guest
SDK 0.2.4 - OVRPlayer doesn't rotate OVRCameras
Hi.
Since I updated to 0.2.4, I started having really random problems with OVRCameraController rotations.
I have my OVRPlayerController with the OVRCameraControlled as a child - I'm rotating the OVRPlayerController via a simple Rotate() function.
Now as of previous versions, setting up Follow Orientation to follow OVRPlayerController would work - as in, my cameras would rotate with my playercontroller. This is not the case anymore, or rather, it's not the case 90% of the time. It happens to work sometimes when I restart my PC from scratch (not even restarting Unity works).
I tried telling the cameraController to follow the ForwardDirection but it doesn't rotate with my playercontroller neither, despite being a child of it - looks like its rotations are being overridden by OVRPlayerController script every frame.
Any clue? Do I have to change my rotation logic (which is a transform.Rotate() function affecting OVRPlayerController) as of 0.2.4?
Thanks.
Since I updated to 0.2.4, I started having really random problems with OVRCameraController rotations.
I have my OVRPlayerController with the OVRCameraControlled as a child - I'm rotating the OVRPlayerController via a simple Rotate() function.
Now as of previous versions, setting up Follow Orientation to follow OVRPlayerController would work - as in, my cameras would rotate with my playercontroller. This is not the case anymore, or rather, it's not the case 90% of the time. It happens to work sometimes when I restart my PC from scratch (not even restarting Unity works).
I tried telling the cameraController to follow the ForwardDirection but it doesn't rotate with my playercontroller neither, despite being a child of it - looks like its rotations are being overridden by OVRPlayerController script every frame.
Any clue? Do I have to change my rotation logic (which is a transform.Rotate() function affecting OVRPlayerController) as of 0.2.4?
Thanks.
Replies have been turned off for this discussion
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
- 10 years ago
- 11 years ago