Part 7: UI & Object Interaction in VR with Raycast - How to make a VR game HD

11.09.2022
In this video we are going to add another hand to our hand parents. Namely, we are going to implement a UI hand. We are going to show you how to interact with a UI in VR but also grab object from a distance when hovering over objects and pressing our grab button. We hope you are enjoying this video, if so, please consider supporting us below! Resources: Unity XR Ray Interactor: https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@0.0/api/UnityEngine.XR.Interaction.Toolkit.XRRayInteractor.html Unity UI Interaction Setup: https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@2.0/manual/ui-setup.html Other Videos: Part 5: Movement in VR and Unity Character Controller: https://www.youtube.com/watch?v=UoSeew6qahY&t Part 6: Teleportation in VR: https://www.youtube.com/watch?v=XbCa9fIce6w Join the Discord! https://discord.gg/v8fVjweUPB Support the Channel: Patreon: https://www.patreon.com/weaslywizard Ko-fi: https://ko-fi.com/weaslywizard Twitter: https://twitter.com/thexrguy Chapters: 0:00 Intro 0:42 Create new RightHand UI 3:28 Define new Input Action for Activating the UI Hand 5:27 Write a new UI Controller Script 8:02 Setup the new script on the Right Hand 8:40 Setup the Scene for Distance Grab 9:02 Testing the Distance Grab 9:28 Setup Canvas for UI Interaction 12:42 Testing the UI Interaction 13:10 Outro

Похожие видео

Показать еще