Forum Discussion
Stankiem
11 years agoHonored Guest
Unity mouse implementation
I am trying to implement Oculus into my game. For the life of me, I cannot find a good tutorial on implementing a mouse in Unity3d within VR. I need a mouse to be able to interact with a complex UI ...
Stankiem
11 years agoHonored Guest
I just realized OVRCrosshair exists.. Hit "C" while using the OVRPlayerController and it brings up a crosshair with a keyhole etc... This is nice and has almost the exact behavior I want, a little tweaking will make it work very well. However... It's all a private class which leads me to believe that I would be able to access it's raytrace hit result somewhere? But it doesn't seem to even have a function to do this?
Also, how would I use a solution like this with NGUI? I would need NGUI to recognize mouse clicks, drags, drops etc... Since it's only a raytrace interacting with the colliders and not the actual mouse, I don't think this will work.
Sorry, searches have all come up dry on these topics.
Also, how would I use a solution like this with NGUI? I would need NGUI to recognize mouse clicks, drags, drops etc... Since it's only a raytrace interacting with the colliders and not the actual mouse, I don't think this will work.
Sorry, searches have all come up dry on these topics.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device