This content originally appeared on DEV Community and was authored by kurohuku
This tutorial will guide you through creating a SteamVR overlay application in Unity using the OpenVR API. Overlay applications are suitable for various utilities since they can be launched simultaneously with VR games.
Sample Application
We will create a simple watch overlay application. The watch is hidden by default, and a controller button will display it for a few seconds.
We will also create a dashboard to switch which hand to display the watch.
Prerequisites
Everything in this tutorial is confirmed to work in the following environment.
- SteamVR beta 2.5.2
- Unity 2022.3.21
- SteamVR Unity Plugin v2.8.0 (OpenVR v2.0.10 included)
- Meta Quest 3 (firmware v63)
- Virtual Desktop v1.30.5 to connect HMD to SteamVR
- Windows 11
It is fine to use another connection method if it can connect to SteamVR.
Feedback
If you notice incorrect information or have feedback, contact kurohuku.
Special Thanks
I appreciate @ArkStructCodes for my English support.
This content originally appeared on DEV Community and was authored by kurohuku
kurohuku | Sciencx (2024-06-16T10:31:29+00:00) Introduction. Retrieved from https://www.scien.cx/2024/06/16/introduction-4/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.