Forum Discussion
pixelcase
7 years agoHonored Guest
How can I get the Laser Pointer from Easy Controller Selection guide to 'collide' with UI Canvas?
I have followed the tutorial at https://developer.oculus.com/blog/easy-controller-selection/ and succesfully got a Laser Pointer to interact with world-space UI canvases, but the laser beam (from OVRP...
- 6 years agoAny of our sample scenes (in the SampleFramework folder) should do that, with the DebugUI. It updates the endpoint every frame so that the laser doesn't go through the canvas. Not saying you need to use the sample, but that the code itself to do that update is only a few lines.
radicalappdev
6 years agoProtege
I was reading about this the other day. Oculus has an interesting idea
...either extending all the way to the UI or fading after a few inches
https://developer.oculus.com/design/latest/concepts/bp-userinput/
Once I read that I started noticing it everywhere. Instead of drawing the laser at a high distance, just draw a few inches to give the user the idea if using a laser pointer. Then use the raycast hit position to place a cursor on the UI. Oculus even does this with the menu screens on the Go and I never really noticed until I read about it.
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
- 9 months ago
- 10 months ago
- 4 years ago