Forum Discussion
craigsanto
9 years agoHonored Guest
Rotating the player's view?
Hey everyone, I'm experimenting with VR, and I wanted to see what I could do by offsetting the player's worldview. As a simple test, I created a plane and gave it a 10 degree x-rotation. I atte...
craigsanto
9 years agoHonored Guest
Thank you for the reply! Please, forgive me, but I'm still quite new to this!
I tried creating an empty GameObject, setting its rotation to match that of the plane, and making the OVRPlayerController its child. It didn't seem like this had done anything, so I encased the plane in a box with walls too high to see the tops of to make sure I wasn't seeing things wrong.
Perhaps my approach has been wrong? I operated on the assumption that if I gave the player the same xz-rotation as the surface they were standing on, the surface would appear to be flat rather than tilted. Was this idea incorrect?
Thanks again!
I tried creating an empty GameObject, setting its rotation to match that of the plane, and making the OVRPlayerController its child. It didn't seem like this had done anything, so I encased the plane in a box with walls too high to see the tops of to make sure I wasn't seeing things wrong.
Perhaps my approach has been wrong? I operated on the assumption that if I gave the player the same xz-rotation as the surface they were standing on, the surface would appear to be flat rather than tilted. Was this idea incorrect?
Thanks again!
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
- 10 months ago
- 1 year ago
- 10 months ago