How To Grab And Throw Objects In VR - Interaction SDK #4

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ธ.ค. 2024
  • In today’s video we are going to look into how to grab and throw objects in VR with various options available in the Interaction SDK such as one hand grab, two hand grab, and various translate and scale constraints and as a bonus we will modify some of these objects to be able to throw them based on the hands and controller movement velocity.
    🔔 Subscribe to avoid missing future XR Videos:
    / dilmerv
    🥽 Download Oculus Integration from:
    assetstore.uni...
    📌 Support me in Patreon so I can keep doing stuff like this for free!
    / dilmerv
    📌 Get XR and game development tips from me in Twitter
    / dilmerv
    🥽 Learn and Get my XR Training from:
    www.learnxr.io
    👉 My Blog / 🔥 Newsletter (Subscribe to get up to date XR news)
    blog.learnxr.io
    #xr #metaverse #unity #vr

ความคิดเห็น • 25

  • @dilmerv
    @dilmerv  2 ปีที่แล้ว

    📌 Be sure to watch the full playlist for this video in chronological order from 👉 th-cam.com/play/PLQMQNmwN3FvwEs_7aXRQ_kEREgrXuKWho.html
    🔔 Consider subscribing to avoid missing future XR videos: th-cam.com/users/dilmerv thank you !

  • @dopinkus
    @dopinkus 11 หลายเดือนก่อน +3

    Great video!
    14:50 is when the description of how to make an object throwable begins - previous sections are on setting up objects to be interactable, constrainable, and have hand pose render nicely.

  • @MandysMelody
    @MandysMelody 2 ปีที่แล้ว +1

    Thank you for the tutorial! this really helped me with my game project. Hand tracking is so incredibly recent that I can not find any tutorials out there!

  • @adamtech9835
    @adamtech9835 2 ปีที่แล้ว +2

    Hi Dilmer your Channel is really helping me out with a project. I was wondering if you could do a short tutorial or possibly explain to me on how to improve onto throwing objects. I'm trying to do a bowling game and most of the time the ball just falls straight down or there is barely any movement (velocity) to it. If I try to swing my hand any harder, the oculus quest 2 doesn't seem to accurately pick up the movement leading to the same result of the ball either falling straight down or a very gentle push. Thanks

  • @wmka
    @wmka 2 ปีที่แล้ว

    Been struggling to do two handed physics grab on ragdoll for a long time now.
    That is something I’d like to find out how to do properly.
    Thank you and have a good.

    • @dilmerv
      @dilmerv  2 ปีที่แล้ว

      Cool I am glad this will help you with your project, let me know how it goes thanks !

  • @Acesteef
    @Acesteef 2 ปีที่แล้ว

    Awesome! Your videos really helped me with my school project. Thank you!

    • @dilmerv
      @dilmerv  2 ปีที่แล้ว

      That’s so cool thanks for your time and feedback, best to you !

  • @Elviramishra
    @Elviramishra 9 หลายเดือนก่อน

    Hi Dilmer! Wonderful tutorial, really helped me alot. So I needed both hand and controller throwing to work on the same object, and I got the hand throwing done, however, when I add the velocity calculator to the controller, the throwing for the controller doesnt work. Any idea how to solve that?

  • @mattiapompita6177
    @mattiapompita6177 2 ปีที่แล้ว +2

    I add the HandVelocityCalculator, assign the Right Hand and also add it in the Hand Grab Interactor but no velocity is add to the object when I try to throw it.
    Anyobody can help me with this issue?
    Thank you

  • @debasishnath6751
    @debasishnath6751 10 หลายเดือนก่อน +1

    Please inform what is the red colour cable with which you connected the hmd with pc? Is it USB c cable?

    • @dilmerv
      @dilmerv  10 หลายเดือนก่อน

      Yes it is a USB-C 3.0 with data transfer which allows me to use oculus link features. The brand is anker and oculus also comes with a cable that supports this functionality.

  • @akhilnitta4794
    @akhilnitta4794 10 หลายเดือนก่อน

    Hi @Dilmer, Thank you so much for the great content. Can you please let me know how can I improve the throwing? I am developing a basketball mixed reality game using the Meta Interacton SDK.

  • @meta.hariharan
    @meta.hariharan ปีที่แล้ว

    you earned a sub!

    • @dilmerv
      @dilmerv  ปีที่แล้ว

      Thank you 🙏

  • @ddvictor
    @ddvictor 2 ปีที่แล้ว +1

    Hey, thank you for the tutorial! I'm using the Oculus Integration Version 46.0, I followed what you did, but I couldn't grab the objects. I created a normal cube and added the scripts to it but it didn't work. Any idea what can I be doing wrong?
    Thanks!

    • @dilmerv
      @dilmerv  2 ปีที่แล้ว +1

      Thanks for the info Victor, did you add a collider and rigidbody to your object as well ?

    • @ddvictor
      @ddvictor 2 ปีที่แล้ว

      @@dilmerv I am! Figured out what was the problem. As I'm pretty new on Unity, I added the interactionRigOVR as you did but mine one had no HandGrabInteractor added to the OVR Hands. Still, tried to do the same with the controllers, adding the ControllerGrabInteractor to the controller hands, but couldn't reference the hands into the interactor script. Not sure if I explained myself well enough but really appreciate your feedback. Thank you so much and keep up with your videos, they're absolutely helpful.

  • @Florian86german2
    @Florian86german2 2 ปีที่แล้ว

    Hi, at first: Thank you for your tutorials! I'm struggeling with some issue - maybe because of the update to v46 of o.i.toolkit? - I think I did all like you told and my cube is now throwable but not moveable anymore. Any Idea what I did wrong? ^^' Thanks!

  • @scanadith
    @scanadith 2 ปีที่แล้ว

    Hi Dilmer,
    When we use avatar sdk along with interaction sdk, the avatars and hand pose are not synced, how to make them in sync?

    • @dilmerv
      @dilmerv  2 ปีที่แล้ว

      Interesting, I haven’t tried both together but I will find out, thanks for your comment.

    • @scanadith
      @scanadith 2 ปีที่แล้ว

      @@dilmerv Hi Dilmer,
      Additional note: This is prominent in hand pose grab feature, when you expect the avatar hands to default to handpose when grabbing but it doesnt.

  • @nicolasferreiro6559
    @nicolasferreiro6559 2 ปีที่แล้ว +1

    Hi, nice video. I got it working but when I add poses(Hand Grab Poses) to the objects, I can't throw them correctly anymore.
    Any idea why that might be?

    • @dilmerv
      @dilmerv  ปีที่แล้ว +1

      Interesting, I will test it tomorrow.

  • @andreramiro732
    @andreramiro732 2 ปีที่แล้ว +1

    I love your job. Make a video about Snap Zone, I'm having a little trouble with it. I would like to know how do I identify the object that is interacting with the socket. With the XR Interaction Toolkit I used IXRSelectInteractable objName = socket.GetOldestInteractableSelected();
    Now with Oculus Integration I'm not able to do the same. Thanks in advance.