Forum Discussion
scottstephan
13 years agoHonored Guest
Using controller axis for Y movement in Oculus Prefab
I'm currently working on a project with a partner and we're sharing custody of the Oculus- The biggest issue with this arrangement is that default Oculus prefabs handle y-axis rotation via the tracker in the HMD. When I don't have the HMD, it makes it impossible to debug- Is there a simple way allow Y tracking via an Xbox controller, as with the default FPS controller?
1 Reply
Replies have been turned off for this discussion
- sinothExplorerNot sure if this is the best way to go about it, but I do it like so: create a "Cameras" empty GameObject and drag the OVR Camera Controller into it. Also create a normal camera and put it in there. Make sure both cameras have zeroed out position and rotation. Attach a script to the normal camera so you can pivot it around however you want with the XBox controller. When you're working on the game without the Rift, disable the Oculus camera and enable the normal one. You can probably do this programmatically but I've always just done it manually.
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
- 4 years ago
- 11 months ago