0
\$\begingroup\$

I am fairly new to Unity. I want to create a VR project that I build to WebXR and publish to the web. I am using the sample scene from this project and it helps me get up and running. I am able to publish the scene to the web.

However, the UI uses a grabbing hand. I want a raycaster style UI that can click buttons, like in the unity starter scene.

I am having a really hard time configuring everything correctly with raycasters starting from this scene. How can I set up raycasters in a way that will work in my VR project?

\$\endgroup\$
1
  • \$\begingroup\$ Can you walk us through what you've tried when adapting the raycasting setup from the UI starter scene, and where specifically you've run into trouble (like specific error messages, unwanted behaviour, or a specific step you don't know how to do)? The more details you can give, the better we can tailor answers to serve your needs, and the faster the question tends to attract useful answers. \$\endgroup\$ Commented Feb 27 at 0:24

1 Answer 1

0
\$\begingroup\$

Update: I adapted the examples from this tutorial, which has prebuilt scenes with everything configured. If you want to set up raycasters start from the sample scene following these steps.

https://www.youtube.com/watch?v=4wQG8_pb3cs

\$\endgroup\$
1
  • 1
    \$\begingroup\$ This is currently a link-only answer. To make it more useful to future readers, can you briefly summarize what steps need to be followed? This preserves the information, even if the YouTube video ever gets taken down, or is blocked from a reader's country. \$\endgroup\$ Commented Feb 28 at 4:02

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.