Setting up VR in Unity
https://www.youtube.com/watch?v=yxMzAw2Sg5w
Project Settings -> XR Plugin Management -> install
Project Settings -> XR Plugin Management -> desctop -> OpenXR
Project Settings -> XR Plugin Management -> android -> Oculus
Project Settings -> XR Plugin Management -> OpenXR -> Render Mode -> Multi Pass
Project Settings -> XR Plugin Management -> OpenXR -> Interaction Profiles -> add controllers for devices
Package Manager -> Enable Pre-release Packages
Package Manager -> add package from git URL [ com.unity.xr.interaction.toolkit ]
Package Manager -> XR Interaction Toolkit -> Default Input Actions (starter assets) -> Import
Assets/Samples/XR Interaction Toolkit/ [version] /Starter Assets/ -> click on files on by one and add them to corresponding provider. (first button on top)
Project Settings -> Preset Manager -> ActionBasedController -> add "right" and "left" strings in to filter fields corresponding to Preset fields.
Scene -> add XR -> XR Origin (Action Based)
select added XR Interaction Manager and add script [Input Action Manager] and in action assets add element and assign XRI Default Input Actions
Scene -> add XR -> Teleportation Area
Scene -> add XR -> Locomotion System (Action Based)
No Comments