Set up Unity's new XR Hands Package - OpenXR based Hand Tracking

Sdílet
Vložit
  • čas přidán 16. 07. 2024
  • In this tutorial I will show you how to set up Unity's new 'XR Hands' Package.
    This is a prerelease version of XR Hands, however, so it is not recommended for use in production!
    ▬ Support My Work ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ❤️ Support me on Patreon: / ludicworlds
    ☕ Buy me a coffee: ko-fi.com/ludicworlds
    ▬ Timestamps ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    0:00 - Intro
    0:55 - Unity Project Setup
    2:00 - Updating OpenXR
    3:11 - Importing XR Hands Package
    4:32 - OpenXR Hand Tracking Features
    5:16 - Hand Visualizer Setup
    7:39 - Ready to Build!
    8:21 - Outro
    ▬ Useful Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► Introduction to Unity's XR Interaction Toolkit: • Introduction to Unity'...
    ► XR Hands Documentation: docs.unity3d.com/Packages/com...
    ▬ Credits ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► Music by - CO.AG Music: / @co.agmusic1823
    #Unity #VR #MetaQuest #HandTracking
  • Věda a technologie

Komentáře • 13

  • @SeanBannister
    @SeanBannister Před rokem +3

    For anyone unable to get the hands to display when you place your controllers on the table, make sure that the Oculus app is set as the default OpenXR runtime and not Steam. You can change this by opening the Oculus app going to Settings and changing "OpenXR Runtime".

  • @modelworkzseo
    @modelworkzseo Před rokem +1

    This is INSANE!!! 🔥🔥🔥

  • @researchDarren
    @researchDarren Před rokem

    I wish I could get this to work, but it looks so cool!!!

  • @WorriorXD
    @WorriorXD Před rokem

    500TH SUB!

  • @blackwhalestudio
    @blackwhalestudio Před rokem

    Is there a way to detect hand poses yet?

  • @blitzkreig4887
    @blitzkreig4887 Před rokem

    It's not supported on target platforms. What does that mean ? Isn't OpenXR supported by default on devices ?

  • @arashanbari2861
    @arashanbari2861 Před rokem +3

    Great work!
    It is working but I'm not able to grab objects! however, I am using it together with Unity's XR Interaction Toolkit. I added the 'XR Grab Interactable' script and colliders to the virtual object that I wanted to grab but it didn't work.
    Anyone can help?

    • @LudicWorlds
      @LudicWorlds  Před rokem +1

      Check out this tweet thread by Eric Provencher: twitter.com/prvncher/status/1628829261640376322
      After the announcement of XRI Toolkit V2.3, he links to his sample project, which uses the new Hand Tracking system. It features grabbable objects, buttons and UI Elements!

  • @anonymoussloth6687
    @anonymoussloth6687 Před rokem

    Hi. Currently Xr hands in now in release and out of preview. XRI toolkit also has a demo scene (Hands interaction Demo) which shows hands interacting with ui and 3d objects. I am not able to understand how this is working. I opened the scene and went through it but I am not able to understand how it is able to detect if the hand is grabbing an object or doing something else. Can you do a video on this?

    • @timtaotao
      @timtaotao Před rokem

      I'm searching the same tutorial, have you figured it out how to get it done? I tried the hands interaction demo, but I didn't successfully create my own in another project, currently I don't know how the hand object get attached to the visualized hands. Thanks

  • @A_walk_in_the_park
    @A_walk_in_the_park Před rokem +1

    XR hands are cool, but how would you go about colliding them with objects? I don't want them going through walls, tables and so on...So far they seem limited in that aspect

    • @yoyomario
      @yoyomario Před 9 měsíci

      These are basic visualizers that give you a reference point from your real hand to your virtual hand. In order to create something physically restraining you would have to implement your own logic. There are many physics-based projects already on the internet where hand-tracking is used as a physics-based system.

    • @A_walk_in_the_park
      @A_walk_in_the_park Před 9 měsíci

      @@yoyomario using OpenXR’s XR hands? ​​⁠​⁠ would you be so kind to send me a link to at least one of these many projects that i could import into unity? Again, it is easy to setup hands interaction with objects that move, on the other hand….how to make them collide with static objects instead of going throught them that I don’t know…