How to Setup VR in Unity 2023
Автор: Master Indie Tutorials
Загружено: 2024-01-23
Просмотров: 875
Описание:
This is how to make a VR game in Unity. Works with any SteamVR headset. The "SteamVR Plugin" is no longer used. Now we use OpenXR, Input System, and XR Interaction Toolkit. These are standard Unity packages from the Package Manager window.
We are using Unity 2023 (2023.2.5f1 in this video). This should also work in Unity 2022, but I ran into some glitches, so I recommend using Unity 2023 or higher.
Works with Valve Index, Meta Quest 2 linked to PC/SteamVR, HTC Vive, Windows Mixed Reality, PiMax, etc. (This may also work with Quest 2 standalone, but I haven't tested it personally yet).
Check out my game that is available on Steam!
Jet Island
https://store.steampowered.com/app/58...
Main Channel:
Master Indie
/ @masterindievr
Packages needed from Package Manager:
-Input System
-OpenXR
-XR Interaction Toolkit
-Starter Assets (from the "Samples" section of XR Interaction Toolkit)
0:00 - Intro
2:40 - Open New Project & Import Packages
4:45 - Setup OpenXR in Project Settings
5:55 - Add and Setup XR Origin
7:38 - VR Position Tracking Should be Working Now
8:57 - Test Controllers in XR Interaction Debugger
10:52 - Setup Input System
14:56 - Create C# Script for Input
20:38 - VR Controller Input Buttons Should be Working Now
23:02 - Outro
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: