Unity VR XR Interaction Toolkit - XR Socket Interactor
Vložit
- čas přidán 16. 07. 2024
- In this Unity VR XR Toolkit tutorial, I'll show adding an electric box with the XR Grab Interact component and then being able to attach it to a base set up with a XR Socket Interactor component.
► Art Assets - Polygon City - Low Poly bit.ly/3ScOYa1
My discord link
► / discord
► Download Unity at unity.com
Chapters:
00:00 Introduction
00:40 Adding a XR Grab Interactable
02:16 Creating a XR Socket Interactor to the base
03:38 Testing out the socket and Conclusion
🚀 Download Trixel Rocket for free on App Store at: apple.co/31s4gzt
👉🏼 To Sign up for email updates on my latest tutorials and game progress.
sendfox.com/bliz
···
♥ Subscribe to my channel: bit.ly/31wL83n
👕 T-shirts! bit.ly/2CYvdBl
● Website: bliz.studio/
● Twitter: / blizstudio
● Instagram: / blizstudio
● Facebook: / blizstudiogames
···
► All content by Bliz Studio is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making content free of charge.
···
♪ "Once Was" by Kwon @ CZcams - Hry
Check out my 3rd Person Game Series Playlist teaching you how to make a 3rd Person game using Unity + Playmaker czcams.com/play/PLhvjMi_0yrQwA0yAkta7hOS7x5zc1hMBr.html and if you would like to join my discord where I can help with issues or you can also engage with other developers please join discord.gg/DgUdNDT7KU
Also check out my other tutorial series.
Hello Jerry! Your whole Tutorials are just awesome. I'm doing a university project with Unity and have no experience at all. All of your tutorials are simple to understand, not too fast and fun to watch. Hope you will guide me through my project with your awesome videos haha
Thanks @slimegodisy. I really appreciate it. Definitely if you have questions you can always hit up my discord server. You'll have to show me what you build. Good luck.
I subscribed. Socket system content with hand tracking would be awesome!
Yep, I definitely need to do some hand tracking vids.
Very useful, thanks
Thanks. Glad it helped.
Hey bliz I'm looking forward to your next video, as its something I have been struggling with for the past week. I am assuming that the light will turn on after checking the socket for the box.
i hope it wont be a scenario that only works for oculus and not openXR
Absolutely!! It's super easy too.
Since I'm doing everything in XR toolkit, it will work with all devices. You'll just need to make sure you have those devices you want to support as plugin providers with OpenXR and in OpenXR Interaction Profiles those headsets added.
Hey Jerry! Question. I'm trying to create like a jigsaw puzzle game wherein i would use the socket interactor for the pieces to snap to. Is there any way to have a check system if each pieces is in the right place? Thanks and great video!
Hey @geralddino6715, thanks. Whether with C# or Playmaker, you would need to keep track of how many sockets. You can use a bool (on/off) if the puzzle piece is in place. Then you need to run a bool test to check if all of your bools are true. If so, then puzzle completed. Hope that helps.
@@BlizStudio thanks man will try it out!
Great tutorial, and where is the sample scene?
Hey Chinwei, if you start out any project in Unity, there will be a sample scene. If you start from the VR Core template, then it will have a scene with the XR Origin all set up and ready to go. If you open up Unity and it's not in the default Sample Scene, you can look in the Project window and in the Scenes folder you'll see Sample Scene. You can duplicate that scene, rename and then use that as your starting point.
How do you set an object to already be attached to the socket on startup? Meaning the user has to do the inverse interaction of removing it. Also, thanks a lot for the tutorial, this is just what I've been trying to figure out!
Hey, maybe you already figured it out now, but the Socket Interactor component has a transform you can attach called Starting Selected Interactor. add your desired gameobject there
Always need to be creating!
How can I do this with Oculus Integration (OVR)?
Hey Andre, I haven't played with OVR just the XR Toolkit. I'll take a look and let you know if I can find anything for you.
@@BlizStudio thanks in advance!