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.
Anonymous
6 years agoI've done a lot of work with the laser pointer recently. For a canvas, there should be a radio toggle on the right side called "raycast target," make sure that is on (enabled). That didn't always work for me, so as a last option (not ideal) you can add a box-collider to the canvas for it to interact with.
Here is a much more detailed guide - https://developer.oculus.com/blog/easy-controller-selection/
Here is a much more detailed guide - https://developer.oculus.com/blog/easy-controller-selection/
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