Build User Interfaces In VIRTUAL REALITY For Unreal Engine 5

Поділитися
Вставка
  • Опубліковано 6 лип 2024
  • Ready to take your Virtual Reality experiences to the next level in Unreal Engine 5? This video will show you how you can build 3D user interfaces that you can interact with using your controllers.
    00:00 - Video Intro
    00:30 - Widget design and blueprint setup
    04:00 - Widget interaction component
    09:03 - Pressing buttons
    12:43 - Final result
    13:15 - Next steps
    Don't forget to like the video and subscribe.
    ♥ Don't forget you can support the channel on Patreon for more content just like this! / virtushub
    ♥ Join the Virtus Discord: / discord
    Virtus Creative Hub // Media
    ● Facebook Page - / virtushub
    ●Twitter Page - / virtushub
    ● Website - www.virtushub.com

КОМЕНТАРІ • 98

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

    非常好的教程,帮助我解决了困扰很久的问题,十分感谢!

  • @lumatrace
    @lumatrace Рік тому +20

    More VR Content please!!! This is great stuff!

  • @JustAGuyProduction
    @JustAGuyProduction Рік тому +4

    Always great when Virtus uploads a new video. Great tutorial.

  • @tatsuroom9933
    @tatsuroom9933 4 місяці тому +13

    This was a fantastic introduction video. Thank you for posting. I am using UE5.3.2. In the introduction video, it's noted that due to the version upgrade of UE5, a case has arisen where buttons cannot be pressed, so I'll provide a solution to address this. The problem now is that the VR template's input action system has changed, resulting in triggers not being activated unless the menu is opened, according to the blueprint settings (refer to the settings within the 'Menu' blueprint). The setting for pressing triggers is also included in this 'Menu' blueprint under 'EnhancedInputAction IA_Menu_Interact_~'.
    To remedy this, a new input action needs to be created within the input folder of the VRTemplate and linked to IMC_Default. Since there's already an input action named 'A_Menu_Interact_~' for both left and right, it's advisable to copy this. (If you don't care about management, you may be able to just link the existing "A_Menu_Interact_~" input action to IMC_Default.)After copying and renaming, follow the existing trigger press settings in IMC_Menu to set up a trigger press action in IMC_Default. Then, by configuring the newly added input action in the VRPAWN blueprint, following the 'Menu' blueprint under 'EnhancedInputAction IA_Menu_Interact_~', the widget buttons will become pressable.

    • @taarikaranjith7913
      @taarikaranjith7913 2 місяці тому

      Thank you! This helped me build my VR project for college :)

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

      please can do it one video or any place for see how fixed, im so bad for this things. thanks

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

    Really cool stuff, I am surprise this video doesn't have more likes

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

    This is more than appreciated, thanks a gazillion.

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

    Hello, I've set all the necessary world dynamic collisions but my debug lines dont seem to collide with the UI and i cant interact with it no matter what I do, do you have any idea what could be wrong?
    Other than that, Great tutorial so far!

  • @DevGames3085
    @DevGames3085 2 місяці тому

    Thanks for the tut!

  • @thatXRlady
    @thatXRlady 10 місяців тому

    Thank you for the video !

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

    Thanks man

  • @mdimascio
    @mdimascio 28 днів тому

    I have always wished to see a complete walkthrough of the VRPawn Blueprint. I would love if you could do that. I think it would help new VR devs so much. Thank you for your teachings!

  • @brenobertulucci134
    @brenobertulucci134 4 дні тому +1

    Hi i would like to know if i can interact with widgets like this using hand tracking from metaXR in quest 2.
    Great video btw!

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

    Great Tut!!!... can you please make a tutorial of packaging this VR experience and send it to my client who has oculus device but not UE5 installed?

  • @SBMAK1989
    @SBMAK1989 Рік тому +11

    So much changed since version 5.1.1. Is it possible to update the video?

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

    This is all great, of course, and the internet is full of such tuts.
    But debug rays will not be displayed in the build - what should be done in this case?

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

    cool. but how do you spawn the widget with a button so it's not always in scene. like a pause/start button?

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

    Hi i just new to this, but i have a project that i have made in third person in unreal engine. actually i made this for vr, but i dont have any vr console yet so i made in third person for now. so how to change this into vr? would i have to migrate all the data? your answer will help me a lot 😊

  • @wailam315
    @wailam315 10 місяців тому

    Hi:Could you give me some ideas of my ue5.2 Vr Project:My project is real-time speech to text, the widget has a preset Chinese, the player reads out, generates text in the widget, so this speech recognition plugin, originally written in the first person, so I want to display the widget in my VR scene, and see the text recognized in real time, now the widget in the scene is completely unresponsive, but this widget on the helmet has work.Thank you!

  • @TIAGOBEZERRA999
    @TIAGOBEZERRA999 22 дні тому

    Hello there,
    Thank you so much for your tutorial, it helped me a lot. But, I want to the line pointing to the menu to appear only when I am pointing to a menu, Is it possible? and how? I couldn't find anything about it on-line.

  • @andreasmank7310
    @andreasmank7310 11 місяців тому

    Hi, my button on the 3D widget is not triggered if it is placed about an object. I think this is related to the navmesh. Do you have any idea how to fix it?

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

    Is there a tutorial that explains level design. All I can find are the setups.

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

    Thanks bro✨💪
    I need your help please. I add widget web browser with interaction on UE5.1 and It's work good 😊 but when I packaging my project I don't whatc the web page and so it's Not work. Please help me🤔💪

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

    Really great tutorial, can you please upload some more UI tutorials for VR more like switching between different widget blueprints in VR and stuff like that. Or how to change the widget class on an existing 3d widget

    • @NarayanLal-ns8rx
      @NarayanLal-ns8rx Рік тому

      ua-cam.com/video/8sjkN4AX09I/v-deo.html&ab_channel=TecDevStudio

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

    I need some help, I created a UI with exact same method but when i Click on a button all Input actions are blocked from the controllers. I even changed the motion controller blueprint to press and release correctly.

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

    what is the name of the controller used @VirtusEdu ?

  • @abdulkadirsahin9837
    @abdulkadirsahin9837 7 місяців тому +9

    ue5 vr input action trigger command. There is no such command in 5.3 unreal eng. What is the current version of the command?

    • @user-rq8qy5sg4k
      @user-rq8qy5sg4k 5 місяців тому +1

      Hello! Is the problem that the blueprint for "inputAction TriggerLeft" cannot be found? I have also encountered the same problem. Have you resolved it?

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

      @@user-rq8qy5sg4kyou need to add it as an input action

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

      New input triggers : enhancedinputAction

    • @timalder369
      @timalder369 2 місяці тому

      with the VR Template there is a mapping context added in the pistol blueprint for the trigger. You can copy that into the VR pawn and run it on begin play. Hope that helps :)

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

    Would love so info on using a Katwalk C2 Core with Unreal projects

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

    Danke!

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

    Hi very helpful tutorial! thank your very much for sahring the knowledge🙌 im having an issue when packaging the project for quest 2 that the debug pointer of the Interaction widget has an offset between the 2 eyes, so is doubled. Thanks again

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

      me too!

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

      Solution (it's late but maybe can help another dev): go to Projects Setting and type "mobile multi-view" and uncheck it

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

    Quality content.

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

    You have not linked your UI video in the description below.

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

    Hi! Thank you so much for your tutorial! It was really so informative!
    I just have one question. How can I toggle this widget? I would like to turn on/off the menu via one of the button but don't understand what logic I need to write. Is there any other way than destroying the spawn actor?
    Thank you so much for any information

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

      There's a function for setting the visibility called 'Is Visible', you can use that instead of destroying the actor

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

      @@VirtusEdu thanks a lot!

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

    please help I didn't have a pointer to click in VR and I don't know how to make it!

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

    Hello, I do not see the UI Video in the description. Which video out of your wonderful collection is it?

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

      Here it is :) ua-cam.com/video/198AMGtdo-E/v-deo.html

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

    Hi,
    I have created a widget interaction for my UI menu and everything works as it should, except that the 2 lasers(Ray trace) are coming for each controller.
    I have done no extra modifications to the standard debug that is part of the widget and also I have tried absolutely everything including disabling instanced stereo and mobile multi-view.
    I tried different unreal versions 5.0.3 and 5.2.1 and also I checked in UDN the same issue had been already raised by someone but didn't find solution for it.
    Please let me know if anyone resolved this issue.

  • @slhx8956
    @slhx8956 Рік тому +7

    where is the initial UI video that is mentioned in the beginning? I would really like to see how this was made!!

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

      ua-cam.com/video/198AMGtdo-E/v-deo.html Here you go :)

    • @lopezcarrara
      @lopezcarrara 11 місяців тому

      I can't even read the answer

    • @user-kz2qw6hm4t
      @user-kz2qw6hm4t 18 днів тому

      ua-cam.com/video/198AMGtdo-E/v-deo.html

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

    Hi excelent tutorial. but i tried to do and i coulndt becuase i see that in UE5.1 the blueprint of VRPawn is different.. i dont have the inputsactions triggered like you. do you know how can i do with the last update?

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

      Hey, glad you enjoyed! You may need to manually add input actions in the project settings and then implement them in the VRPawn blueprint event graph. However if that still doesn't work, join our discord and our team will be able to help you 1 on 1

  • @YuvalDorfman
    @YuvalDorfman Рік тому +6

    Great tutorial as usual, one thing missing: these are debug lines , you need a part 2 to explain how to add a true line, the debug lines wont show in a build that is non development

    • @VirtusEdu
      @VirtusEdu  Рік тому +6

      We can definitely do more VR content if there are enough requests :)

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

      @@VirtusEdu this should be a no brainer considering the complete lack of VR UE content online

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

    my VR controllers of VR pawn are not moving in the project file. I'm using the VR preview mode and it's working in a new project file. I checked the blueprint, the settings, but I have no idea why the hands are not moving at all.

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

    How could the menu be visible/invisible by using toggle?

  • @megamoze
    @megamoze 6 місяців тому +3

    What do I do if the input Action for the left and trigger isn't in the VRPawn Eventgraph? I have the Grab right and left, but no trigger.

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

      Use the Left GamePad Trigger or the Right GamePad Trigger

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

      @@huntermlbb8353 I only have EnhancedInputAction IA_Grab_Right and Left.....

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

    how i can make for exmaple . i have 4 box . each one has wood , 2nd box has marbel . 3rd one has : plastic . and 4th has metal. so and i have a chair . by selection one of thos 4 box and chair gonna load that surface . thnx in advance .

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

    There's something I really don't understand in the video. How does he get his Widget component to take up only the space for his menu and not the space for the Canvas?
    I'm trying to create a Widget for my VR application that expands when clicked and it's really hard to get it to scale properly.
    At the moment, in my BP_SpawnUIElement, in order to respect the size of my menu when it expands, I have to modify the size of my Widget Component, and so in my scene I end up with objects that are the size of the canvas.

  • @auaukiko.oficial
    @auaukiko.oficial 4 місяці тому

    I dont't have the "3D widget" trace channel. Using Unreal 5.2

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

    nice tuto.. can you create a tuto to change material using vr for achi viz. please

  • @user-no6xz6vw6q
    @user-no6xz6vw6q 3 місяці тому

    very goooooood❤❤❤❤❤❤

  • @user-iu2ke3vj5v
    @user-iu2ke3vj5v 2 місяці тому

    How to Enable Motion Blur in VR?

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

    cuando haces una explicacion igual pero con unreal 5.1

  • @user-ln2qr5mn8r
    @user-ln2qr5mn8r Рік тому +1

    Yo I see you're still going strong! Im not very interested in game development but found your channel a while ago so im just checking in to see how you're doing.

  • @thatXRlady
    @thatXRlady 10 місяців тому +3

    Hi, I tried this, but my buttons are changing colour when hovered over but not performing its on-click functions. It's not being clicked. And unlike in the video, in my VR pawn, I do not have an input action trigger, I only have an input action move, input action snap and input action turn. So I created a custom input action pressed, and released for both Widget interaction Left, and right, and connected them to press pointer key and release pointer key functions. It still didn't work.

    • @Spookysart
      @Spookysart 10 місяців тому +1

      same not working at all and tbh unreal is really making vr dev super hard unlike unity

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

      I have the sme problem as well HELP ;-;

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

      @@cws_2141 hi have you found the solution? im having the same problem

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

    If the click event does not fire: Use "Press Pointer Key" node instead of "Press Key" node from the WidgetInteraction component.

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

    Hi there! Where can I find InputAction TriggerRight or Left in unreal 5.1?

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

      To find the InputAction TriggerRight or TriggerLeft you need to create an Input Action Blueprint in the Content Browser. In the Blueprint Editor, you can add a new InputAction with the "Name" set to either "TriggerRight" or "TriggerLeft" and the "Key Event" set to "Pressed". Once created, you can use the TriggerRight or TriggerLeft InputAction in your project. Keep in mind that you may need to map these InputActions to a specific input device in the Input Settings of your project.

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

      Thank you very much.

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

    I placed a spawnUIElement menu in the level. But it won't show texts and buttons. Could you tell me the reason?

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

      Never mind. It shows the menu when it runs in Quest2. I don't know why it won't show when it plays in the level editor.

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

    please more vr content 🙏

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

    I dont see the 3dwidget under collision

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

    Men you saved my ass

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

    Right, so I shouldn't have followed the video before this creating the UI. Now I'm stuck in my 3rd person project and this new vid was ofc in VR :S

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

    How could Enhanced Input be handled instead of Input Action Trigger Left/Right?

    • @dalibormitic2872
      @dalibormitic2872 11 місяців тому

      Did you find a solution, I am having same issue, I can not find Input Action Trigger Left/Right only Enhance input from bindings that I created for triggers, I am not sure why is not showing maybe cause they changed something in UE 5.2

  • @Manav-yk9qi
    @Manav-yk9qi Рік тому

    Hi Virtus great tutorial however when I try open level the game crashes and loads me back to the oculus home menu and the launch is complete in unreal an error pops up "Ensure condition failed: Scene->GetShadingPath() != EShadingPath::Mobile [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Renderer/Private/SceneVisibility.cpp] [Line: 2098]" got no idea why this happens spent weeks and got nothing any ideas would be amazing

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

    hlo sir
    pls upload AR tutoral using unreal engine

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

    ffs why can't I see it in my world 3:00

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

    Oops didn't read its was for vr only

    • @VirtusEdu
      @VirtusEdu  Рік тому +4

      I do have a PC UI video which is definitely worth checking out!

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

      @@VirtusEdu sure👍

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

    Isn't Jerian?

  • @JekaPelmen
    @JekaPelmen 2 місяці тому

    я ниче не понял, объясни так мне лень видос смортеть

  • @visionstudio7252
    @visionstudio7252 10 місяців тому +1

    More VR Content please!!! This is great stuff!