Two Handed Grab with Unity XR

Sdílet
Vložit
  • čas přidán 4. 07. 2024
  • Two hand grab used to be a very complicated thing to do, but now thanks to the updated xr grab interactable of Unity XR toolkit, it can be setup in just a few click !!!
    ❤️ Support on Patreon : / valemvr
    🔔 Subscribe for more Unity Tutorials : www.youtube.com/@ValemTutoria...
    🌍 Discord : / discord
    🐦Twitter : valemvr?lang=en
    👍 Main Channel : / @valemvr
    🔥 Tiktok : / valemxr
    ····················································································
    📝Best VR Assets ( These links are Affiliate links which means it costs the same to you and I get a small commission. Thanks for your support!)
    VR Interaction Framework
    assetstore.unity.com/packages...
    Hexabody (Physics VR Player)
    assetstore.unity.com/packages...
    Mirror and Reflection for VR
    assetstore.unity.com/packages...
    Auto Hand (automatic hand grab pose)
    assetstore.unity.com/packages...
    Hurricane VR (vr physics interaction)
    assetstore.unity.com/packages...
    3d Hand Model for VR
    assetstore.unity.com/packages...
    ····················································································
    Full Series on How to make a VR game • How to Make a VR Game ...
    ····················································································
    If you enjoyed this video, here are some other really good channel you should appreciate :
    ⌨️ Game Dev
    Brackeys : / @brackeys
    Dani : / @danidev
    Code Monkey : / @codemonkeyunity
    👨‍🎓 Vr Dev
    Justin P Barnett : / @justinpbarnett
    Vr with Andrew : / @vrwithandrew
    ····················································································
    00:00 Intro
    00:39 Simple Grab
    02:43 Multiple Grab
    06:40 XR General Grab Transformer
    08:54 Outro
    #vr #vrdev #madewithunity

Komentáře • 45

  • @rofl124
    @rofl124 Před rokem

    This is insanely cool! The fact that this function was added to the xr toolkit!

  • @raphael3024
    @raphael3024 Před rokem +5

    Finally. Thank you so much brother. I have been waiting for this my whole life.

  • @GermanVargas
    @GermanVargas Před rokem

    This was great Valem! Excellent work! You are a great educator, thank you for sharing.

  • @myhelshik5844
    @myhelshik5844 Před rokem

    I remember valem released two hand grab 2 years ago, but it didn't work for me. But now it does, thank you Valem!

  • @muhammadalown4439
    @muhammadalown4439 Před rokem

    Like always, amazing content, keep up the great work my friend :)

  • @tomcruise1387
    @tomcruise1387 Před rokem +1

    This is massive ! Great news thanks :) , but when we release a hand, the other hand switch from attachtransform 2 to attachtransform 1. There should be a way to precise, left hand is always on attachtransform 2 without switching it automatically

  • @TheSateef
    @TheSateef Před 11 měsíci

    WOW!!!!!!!!!! i was expecting to have to do hundreds of lines of code and days of debugging to do this, seems its already in there. really Valem, Unity needs to be paying you.

  • @piratemin_vr
    @piratemin_vr Před rokem

    Great vid once again. I'd love if you were able to cover the kind of hand interactions AutoHand uses where the fingers curl to the collider of the thing they're picking up. I bet its super complicated though.

  • @LineOfThy
    @LineOfThy Před rokem

    very cool

  • @ZE0PHYTE
    @ZE0PHYTE Před rokem +1

    W tutorial

  • @asifmoideen607
    @asifmoideen607 Před rokem

    Awesome! Can you make a tutorial for hand poses and teleporter with the new XR hands?

  • @privateHandle731
    @privateHandle731 Před rokem +2

    I’m building a staff weapon so need to have a different attach transform for the left and right hands. Is that possible now too?

  • @julesmarchioni6958
    @julesmarchioni6958 Před rokem

    Great video ! Is it possible to make a tutorial for animations in vr ? how to use and add animation when clicking on a VR button etc, thanks !

  • @torstenknodt6866
    @torstenknodt6866 Před 8 měsíci

    Thanks, great video.
    When scaling, is there a way to control this in detail, e.g. by modifying a mesh programmatically?

  • @jcozyyt
    @jcozyyt Před 10 měsíci

    Hey Valem, thanks for all the videos! I had a quick question: I am trying to make a grab interactable that I select with one hand and activate with the other, but I haven't found a solution to accomplish this yet. In my example I have a can of food that I can pick up, but to open the can I want the player to grab the lid of the can with trigger to open it. Any ideas how to accomplish this? It seems like the "Activate" event on a grab interactable only fires when the hand holding the object pulls the trigger

  • @Atlas_966
    @Atlas_966 Před rokem +4

    PLEASE make a IK tutorial!!

    • @mikey7095
      @mikey7095 Před rokem

      He has one from awhile ago

    • @Atlas_966
      @Atlas_966 Před rokem +1

      @@mikey7095 “from awhile ago”, I tried it recently and it doesn’t work for me

    • @msms-rd6us
      @msms-rd6us Před rokem +1

      @@Atlas_966 same

    • @msms-rd6us
      @msms-rd6us Před rokem +1

      @@Atlas_966 it works but its very buggy

    • @Atlas_966
      @Atlas_966 Před rokem +1

      @@msms-rd6us Yeah thats why he needs to update it!

  • @jas-db3nu
    @jas-db3nu Před rokem +1

    Do you know what may be the problem that I can only grab objects by thumb and index finger touching together?

  • @colerobertbeasley9296

    Love the videos as always. Is there a way to detect when only the primary hand is causing an activate event. For example only the primary hand is pulling the trigger of a gun?

    • @colerobertbeasley9296
      @colerobertbeasley9296 Před rokem

      I currently wrote a custom override for OnSelectEntered and Exited to track which hand is primary and secondary but was wondering if there was a more elegant solution that was already integrated

  • @BrandonNyman
    @BrandonNyman Před rokem

    With this new system, how can I set up custom hand poses for left & right hand?

  • @NAGYT101
    @NAGYT101 Před rokem

    do a tutorial for a vr ak pleaseee

  • @ZE0PHYTE
    @ZE0PHYTE Před rokem +1

    Bro I clicked on your channel and it said you posted this 44 seconds ago lol

  • @NiteshKumar-zo4mg
    @NiteshKumar-zo4mg Před rokem

    Can you make tutorial on vr multiplayer in 2023, I watched your three year old vr multiplayer videos but now many things are changed in unity

  • @SwamySwank
    @SwamySwank Před rokem +3

    is there a way to make it so the one with the 2 attach transforms wont snap the secondary hand to the primary once the old primary let go? basically keep the second hand the secondary one once the primary is let go?

    • @ValemTutorials
      @ValemTutorials  Před rokem

      I think making a script that will swap the two attach transform when release would work ! :)

    • @SwamySwank
      @SwamySwank Před rokem

      @@ValemTutorials let me try that

    • @SwamySwank
      @SwamySwank Před rokem

      @@ValemTutorials it works one way, but now if the secondary hand releases the main hand swaps to the secondary?

    • @RK-vt1rw
      @RK-vt1rw Před rokem

      @@SwamySwank could you show me your script for this?

    • @SwamySwank
      @SwamySwank Před rokem

      @@RK-vt1rw still working on it, i have like half of it working but I'm trying to get it to work

  • @intensevideogame
    @intensevideogame Před 10 měsíci +1

    there is no secondary attach transform for me, its not even on unity's official documentation.

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

      update your xr interaction toolkit package to 2.3.2

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

      @@tinytea3323 that did it, thanks.

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

      How do I update it? @@tinytea3323

  • @msms-rd6us
    @msms-rd6us Před rokem

    it wont let me click the multiple option

    • @ValemVR
      @ValemVR Před rokem +1

      Make sure you have unity xr 2.3 installed, you can have a look at it in the package manager

    • @msms-rd6us
      @msms-rd6us Před rokem

      👍

  • @bithigh8301
    @bithigh8301 Před rokem +1

    Man, you make unity and VR development so easy. Valem >>> ChatGPT. Thanks