[03] VR for Beginners using Unity (XR Rig)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

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

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

    I've done this twice before, but for some reason when I do it now the hands just stay at 0,0,0 when I play the game. Head tracks fine though and I've already added custom hands and gameobject children. Any ideas?

    • @MrGeejayz
      @MrGeejayz 3 ปีที่แล้ว

      I think (but not certain) I had this issue before when I didn't import the XR Interaction Toolkit from the Package Manager. Could it be a Device Based Rig vs Action Based Rig setup issue? I'm on Vive using Device Based in 2019 still.

    • @VRwithAndrew
      @VRwithAndrew  3 ปีที่แล้ว

      This is correct!

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

    I'm using the action based controller, hope I'm setting things up right :D

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

      Right! That's what you want to use. The action-based controller wasn't added at the recording of this series.

    • @StiekemeHenk
      @StiekemeHenk 3 ปีที่แล้ว

      @@VRwithAndrew Oh cool you responded, yeah I figured things out with a bit of messing around here and there. Takes more time but gives more freedom.
      Thanks a load for this series by the way. There are a lot of plugins that promise todo the same VR stuff and it got my head spinning. Much love!

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

    I can't wait for the UI tutorial of this series. You are really helping me out bro!

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

      Thanks Robert! I don't have any particular plans for UI implementation. If you have any ideas or a specific use-case lemme know.

    • @robertduffney3074
      @robertduffney3074 4 ปีที่แล้ว +3

      VR with Andrew I was thinking along the lines of creating a menu, interacting with the menu. Also simple dialogue UI and choosing options with the interactables? I haven’t really found any tutorials or videos really giving VR UI a comprehensive look. I think it would fit perfectly for this series!

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว +3

      I'll see what we can do!

    • @robertduffney3074
      @robertduffney3074 4 ปีที่แล้ว

      VR with Andrew thank you so much bro! You are a life saver!

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

      @@robertduffney3074 Agree - this is next step for me... building buttons that reset scene, move to next scene, change gravity, speeds etc.

  • @CyrilBeaudrySarrazin
    @CyrilBeaudrySarrazin 4 ปีที่แล้ว

    Nice! What a satisfaction to make this work!

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

      You're welcome! More to come.

  • @cleanshirtlabs9620
    @cleanshirtlabs9620 4 ปีที่แล้ว +5

    Hi Andrew, I'm using Unity 2019.4~ and installing the XR Interactions Toolkit 0.10.0preview 7. It's updated to use the new Unity Input System, and it means my controllers no longer work. Have you come across this issue? (going back to 0.9.4 that you have in these videos makes it all work again so I suspect it's something to do with switching input systems).
    Great tutorials btw :-)

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว +9

      You can use the Device-Based Rigs, they'll be in their own drop-down in the XR Menu. I will be releasing a video next for how to use the Actino-Based rigs.

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

      @@VRwithAndrew YES! Thank you so much Andrew :-)
      Let me know if you are interested in any of my assets, I'll be happy to help you back.

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

      @@VRwithAndrew Wow, thanks. I've been trying to figure this out for an embarrassingly long time.

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

    How do I make it collide with stuff?

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

    Love your videos soo much! You go in-depth and explain every detail and I love it! Question, how do you yourself learn all this? Do you just look at the documentation or is it just experience?

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

      Thanks, and you're welcome! I've been doing VR stuff for quite awhile, so some experience. For XR Toolkit, it's honestly just been playing around with it and making projects/tutorials. I do also read the documentations that's available, but that's usually very limited.

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

    my "hands" vanish/"suffer some sort of clipping when they get within arms reach of my headset, is this normal?

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

      Yes! They can be changed by changing the Camera's near clipping plane.

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

      @@VRwithAndrew Thank you, I thought i was going crazy. I'm new to this whole unity VR thing (3 days). this series of videos are awesome

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

      @@RichardThaddeus Ahaha, you're very welcome!

  • @monicaceisel3139
    @monicaceisel3139 4 ปีที่แล้ว

    Thank you for breaking down all the options in each component!

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว

      You're quite welcome, Mónica!

  • @uheldigehelt
    @uheldigehelt 3 ปีที่แล้ว

    Hi, I'm hoping to get help. I'm using Unity 2020.3.16 and I my controllers will not show up. I followed the video all the way to the end but.: The spheres for the hands are just sitting on the floor..

    • @VRwithAndrew
      @VRwithAndrew  3 ปีที่แล้ว

      Do you know if you're using Device or Action-based controllers? This series is a bit out-of-date when it comes to the setup portion.

    • @uheldigehelt
      @uheldigehelt 3 ปีที่แล้ว

      @@VRwithAndrew It should be actionbased and I use action based xr files. I use quest 2 and unity 2020.3.16

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

      @@uheldigehelt Make sure your project is switched over to the new Input System in the Project Settings, and you're using the Input Action Manager to enable the actions.

  • @nagyFerko
    @nagyFerko 3 ปีที่แล้ว

    Hi!
    i'm now using XR rig, in unity 2020.3.22, and i'd like to recenter a camera when the user pressed a button on the controller. Do you have any idea how?

    • @VRwithAndrew
      @VRwithAndrew  3 ปีที่แล้ว

      There should be a function on the XR Rig that sets the rig's forward direction. I would look into that first.

  • @TheNotoriousGallery
    @TheNotoriousGallery 3 ปีที่แล้ว

    Hello, can i make a room with real size in unity and then this room interact with virtual reality? Is this possible

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

      Yep, most of the projects you see doing that are using Unity.

  • @Ziboo30
    @Ziboo30 4 ปีที่แล้ว

    Hello. What is the best solution to give player an option to play standing or seating when using floor tracking ? Thanks

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว

      That's a good question and I'm honestly not sure. Obviously the thing to tackle is raising up the player to a playable height. This may be done using a height calibrator when the player selects the mode. Then figure out whatever additional height is necessary, and applying that value using a custom pose provider.

  • @christophercoutinho9281
    @christophercoutinho9281 4 ปีที่แล้ว

    Cool and super simple tutorial. Concepts well explained

  • @27anshulsd
    @27anshulsd 4 ปีที่แล้ว

    Is there a way to work with these tutorials without an HMT? Like from an android phone?

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

      Potentially, you'd have to look into the Google VR provider.
      github.com/googlevr/cardboard-xr-plugin

    • @27anshulsd
      @27anshulsd 4 ปีที่แล้ว

      @@VRwithAndrew tysm. Great tutorials btw :D

  • @deej5279
    @deej5279 4 ปีที่แล้ว

    I still don't see my hands yet I did as you stated. Please Help. Using unity version 2019.4.0

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

      Figured it out. My controllers loaded as (action-based) XR controllers not Device-Based. You must delete the action-based and load the device based in add component.

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว

      @@deej5279 There's also an additional dropdown in XR for Device-Based objects.

  • @tylerpinney3077
    @tylerpinney3077 3 ปีที่แล้ว

    Hi, do you have any tutorials on adding a left hand? Mine doesn't seem to show up, I'm using an oculous quest 2 and my right hand works perfectly but my left doesn't show at all
    Edit: doesn't matter, just me being stupid, I didn't set the left hand to "left hand" in the Xr device. I feel dumb now.

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

    Does work for Oculus go?

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว

      I haven't personally tried it. But, it should work. You're just restricted to using the Ray Interactor.

  • @EricPeters
    @EricPeters 4 ปีที่แล้ว

    Great tutorial. As always :)
    One question: Is there an easy way to create a 3rd person controller with the XR Toolkit? Something like "Moss"? Or "Ven"?

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว

      Thanks! The biggest thing is mapping the input. You can create your own 3rd person controller, or try appropriating the one from Unity's Standard assets. But, just getting the input replaced, and working is the only difference that I can think of at the moment.

    • @EricPeters
      @EricPeters 4 ปีที่แล้ว

      ​@@VRwithAndrew Thanks for your quick answer!
      I will try that out. Let's see if I can handle the new input system :)

  • @damen238
    @damen238 4 ปีที่แล้ว

    Thanks so much for all your informative information. Please keep it up!

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว

      Thanks, Kiwi! Lots more to do :)

  • @spunzon
    @spunzon 3 ปีที่แล้ว

    Thank you very much, I am starting to understand how this works!!

  • @brandon_iceberg
    @brandon_iceberg 4 ปีที่แล้ว

    Great tutorial, really helped me out!

    • @VRwithAndrew
      @VRwithAndrew  4 ปีที่แล้ว

      You're welcome, Brandon!

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

    thank you for a great tutorial!

  • @thebestcrobat6974
    @thebestcrobat6974 4 ปีที่แล้ว

    Thank you so much

  • @별사탕-j3w
    @별사탕-j3w 4 ปีที่แล้ว

    Thank you so much for great tutorial !!