Unity VR XR Interaction Toolkit - UI Menu and Interactions

Поділитися
Вставка
  • Опубліковано 19 сер 2024

КОМЕНТАРІ • 71

  • @BlizStudio
    @BlizStudio  Рік тому +3

    Check out my 3rd Person Game Series Playlist teaching you how to make a 3rd Person game using Unity + Playmaker ua-cam.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

  • @davidjoelstevenson
    @davidjoelstevenson Рік тому +3

    I come back to your videos consistently, because you do an excellent job of explaining things clearly! My issue today was not using the XR UI Canvas (which, after watching your video, I noticed has an additional script attached to it), and watching your video fixed me right up. Thanks!

    • @BlizStudio
      @BlizStudio  Рік тому +1

      Thanks David!!! I definitely appreciate you coming back to the vids.

  • @momed481
    @momed481 5 місяців тому +1

    Nice and short yet very informative! It got me started and wanting to learn even more. Keep up the great work!

    • @BlizStudio
      @BlizStudio  5 місяців тому

      That's awesome!! Thanks. Hopefully going to be creating more tuts on these soon.

  • @jonathansmith2115
    @jonathansmith2115 Рік тому +1

    Thanks for your videos, this one has sped up my VR UI development considerably... quick but detailed step by step instructions.

  • @SASWJd21
    @SASWJd21 Місяць тому

    Your videos are spectacular, right to the point very clear and straight forward, love it thank you so much for theeeese 👌👌

  • @jaiwi2054
    @jaiwi2054 4 місяці тому +1

    Thank you so much. You're very generous and a great teacher.

    • @BlizStudio
      @BlizStudio  4 місяці тому

      Thanks @jaiwi2054. I really do appreciate it.

  • @DrDrastic624
    @DrDrastic624 3 місяці тому +1

    youre an absolute legend thank you

    • @BlizStudio
      @BlizStudio  3 місяці тому

      Thanks 🙏 much appreciated

  • @narrowspace8552
    @narrowspace8552 Рік тому +2

    Soooo clear explanation!!! Thank you!

    • @BlizStudio
      @BlizStudio  Рік тому

      Thanks Wentian Zhu!! I appreciate it.

  • @AnimousArchangel
    @AnimousArchangel 6 місяців тому +1

    very useful. thanks for the tutorial

    • @BlizStudio
      @BlizStudio  6 місяців тому

      Thanks!! Greatly appreciated.

  • @Azur_Anime
    @Azur_Anime Рік тому +1

    This helped me loads, thank you

    • @BlizStudio
      @BlizStudio  Рік тому

      Thanks Blue Light!! Glad this helped.

  • @chasesommer
    @chasesommer Рік тому +1

    Nice I’m going to need this for my VR butter churning simulator

    • @BlizStudio
      @BlizStudio  Рік тому +1

      Ok, I gotta see that when you're done with that one

    • @chasesommer
      @chasesommer Рік тому +1

      @@BlizStudio yeah the tagline is going to be, “yearn for the churn” 😂

    • @BlizStudio
      @BlizStudio  Рік тому +1

      lol!!!! "Got Milk?" Makes me thing of the old arcade game "Track & Field". It was a button smasher.

    • @chasesommer
      @chasesommer Рік тому +1

      @@BlizStudio 😂 yeah for my first few demos I’m going for the most ridiculous thing I can think of!

    • @BlizStudio
      @BlizStudio  Рік тому

      That's awesome!!

  • @teawa_
    @teawa_ Рік тому +2

    I actually made a mistake watching another video, i was wondering why my button wasn’t intractable with regular UI elements, turns out the Tracked Device Graphic Raycaster is important for VR rigs

  • @user-st3qj7od2f
    @user-st3qj7od2f 8 годин тому

    Hi! , just wondering im trying to create a VR video with Inta 360 and i want to be able to add basic interactions , how can i do that ?

  • @zaidahmed7110
    @zaidahmed7110 6 днів тому +1

    Great video! For some reason, my headset position seems to be controlling whether the button is selected and pressable instead of the rays. If I face the button and rotate my head to face it, it changes colour to indicate that it is selected, then when I press trigger it presses.

    • @zaidahmed7110
      @zaidahmed7110 6 днів тому +1

      Update:
      The fix is to make sure your EventSystem has no additional components - mine had the Input System UI Input Module. Disabling it fixed this issue

    • @BlizStudio
      @BlizStudio  5 днів тому

      Glad you were able to fix the issue.

  • @0GRANATE0
    @0GRANATE0 Місяць тому

    I am trying to build this for Quest3 - I have hand and controller tracking ... but they are not interacting with the menu - I see there is this pokable block but I have no clue how to use that for my canvas ui, anyone?

  • @Jim-ei2iv
    @Jim-ei2iv 8 місяців тому +2

    I do appreciate the video, but my lasers don't select anything. They turn from red to white when I point it at the menu but thats as far as I get. Is there a need to set up the event manager or the ray caster?

  • @tordgaming3804
    @tordgaming3804 Рік тому +3

    how would i go about having a menu that pops up when a button on the controller is pressed?

    • @BlizStudio
      @BlizStudio  Рік тому +2

      Hey Tord, I'll try to show that in one of my next few vids.

    • @tordgaming3804
      @tordgaming3804 Рік тому

      @@BlizStudio sweet

    • @NovaSixSix
      @NovaSixSix 6 місяців тому

      @@BlizStudio Did you ever get around to doing a video on this topic. I figure that I need to use the "XRI Default Input Actions" but I'm at a loss as to how to make this toggle my menu.

  • @blitzkreig4887
    @blitzkreig4887 Рік тому +1

    Have you tried UI Toolkit for XR UI experience ?

    • @BlizStudio
      @BlizStudio  Рік тому

      I haven't yet. I'll have to give that a try.

  • @lucutes2936
    @lucutes2936 4 місяці тому

    THX

  • @SongHang-ho1gq
    @SongHang-ho1gq Рік тому +1

    Hello Bliz, I hope you are still answering youtube comments. When I add a Xr Origin (Vr) to my game and test it on a PICO 4, my hands dont work, there is just a red line in the air. Do you got any fix for this?
    Thank you:)

  • @3network983
    @3network983 Рік тому +1

    v. nice

  • @farishanatasya2973
    @farishanatasya2973 9 місяців тому +1

    Hello,why when i click XR it does not pop out xr canvas ? Please help me

    • @BlizStudio
      @BlizStudio  9 місяців тому

      Hey Farish, were you able to solve your issue? Sorry I missed this comment?

    • @farishanatasya2973
      @farishanatasya2973 9 місяців тому

      @@BlizStudio yes i have figured it out !! Thankss

  • @sprite1015
    @sprite1015 Рік тому +1

    Is it just me or did you skip the part where you set up the XR Raycasting.

    • @BlizStudio
      @BlizStudio  Рік тому

      Hey Sprite101, actually the raycasts on the XR Origin are actually on by default. When you set up an XR Origin, the left and right hand ray interactors are already there.

    • @sprite1015
      @sprite1015 Рік тому +1

      @@BlizStudio it must be the way I set up my project with open xr/ oculus. Managed to get it working though

    • @BlizStudio
      @BlizStudio  Рік тому

      Awesome. Glad you got it up and running.

  • @jimmychen0123
    @jimmychen0123 Рік тому +1

    Hello, thank you for making such a create content about how things get implemented in VR, however, I am having trouble lately with UI, since the Menu UI is often blocked by the objects in the scene, and I wonder if there are solutions for this.

    • @BlizStudio
      @BlizStudio  Рік тому

      So I have questions about what your UI is within the scene. Is your UI intended to be embedded within the scene like my burger menu or are you wanting the menus to be overtop over everything?

    • @jimmychen0123
      @jimmychen0123 Рік тому

      @@BlizStudio The UI is in the scene and attached to the controller, what happened is that sometimes when opening up the UI, the UI is blocked by the wall for example if the user was next to the wall

    • @BlizStudio
      @BlizStudio  Рік тому

      Ok next question, why have the UI attached to the controller? If you are just wanting it a consistent HUD type UI, you can go ahead and make it a Camera Overlay UI versus a World Space UI. Then with your pointers, you will need to use the UI Pointer Component so that you can interact with the UI elements. Also, nothing won't get in front of your UI.

    • @jimmychen0123
      @jimmychen0123 Рік тому

      @@BlizStudio It is a design choice to attach a Menu UI to the controller, thus world space UI is used in this implementation. However, the pitfall is that the UI gets blocked by the objects, for example, a wall when users open up the menu UI.

  • @kMuhammadFaizanSadiq
    @kMuhammadFaizanSadiq 7 місяців тому

    hey i have a issue. my ray is interacting fine when i am on stationary ship but when i give speed to my ship and then interact with my UI in moving ship, ray gets shortened . i don't know why moving ship is causing my ray gets short.

    • @BlizStudio
      @BlizStudio  6 місяців тому

      So your player is attached to a moving space ship? Is the item you're interacting with is it also attached? When you fire a raycast, it is firing in world space and is your game object you are firing raycast at also attached to the moving ship?

  • @duff2012
    @duff2012 Рік тому

    Any idea why my ray caster is sticking to the sides of my canvass?

    • @BlizStudio
      @BlizStudio  Рік тому +1

      Hey @duff2012, sorry for getting back late. Are you using the Physics Raycaster component? Try disabling that and see if you still have the sticking to the sides.

    • @duff2012
      @duff2012 Рік тому

      @BlizStudio no worries! It ended up being a bug.. I updated to a newer xr toolkit and it stopped!

  • @tordgaming3804
    @tordgaming3804 Рік тому +1

    what program do you use to make your models?

    • @BlizStudio
      @BlizStudio  Рік тому

      Depends. The models from this are coming from the Polygon City - Low Poly bit.ly/3ScOYa1 on the asset store. But if I am making my own models, I use ProBuilder right inside Unity.

  • @fukukyun78
    @fukukyun78 9 місяців тому +1

    1:43 I wonder why Unity does this... why not automatically scale a world space canvas down? Who needs a world space canvas this gigantic? lol

    • @BlizStudio
      @BlizStudio  9 місяців тому +1

      IKR?!! Yep I never understood that either. Although the Canvas is rendered separate from the scene and overlaid over the scene in the other Canvas types. lol

  • @BossKing1243
    @BossKing1243 Рік тому

    bruhh my ray beams go through my button :(

  • @tetvris
    @tetvris 8 місяців тому

    4:20 why I came here.

  • @chenzhuo
    @chenzhuo Рік тому +1