Forum Discussion
enzedda
11 years agoExplorer
Using the mouse buttons
Greetings to you all. My first post. I have my dk2 and i have free Unity. I have setup mydk2 and it is great. I have placed the Oculus Unity4 integration into a simple new Unity scene and all views...
Jyakku
11 years agoHonored Guest
Like Virror said, it's probably a discrepancy between the stock Unity camera and the Oculus camera. I imagine you're doing something like a raycast or a built-in helper like ScreenPointToWorld, which is still fine, but you'll have to change where the cast is coming from, because in VR the direction your head is facing is not necessarily the direction your body is facing.
For all raycast operations, I find it easiest to cast the ray from the ForwardDirection GameObject, which is a child of the OVRPlayerController.
I hope this helps, and if you're still having trouble I'm sure we can help you out based on a code sample of your sphere clicking code.
For all raycast operations, I find it easiest to cast the ray from the ForwardDirection GameObject, which is a child of the OVRPlayerController.
I hope this helps, and if you're still having trouble I'm sure we can help you out based on a code sample of your sphere clicking code.
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