Creating a Locomotion VR Character - Unreal Engine 5

Поделиться
HTML-код
  • Опубликовано: 1 авг 2024
  • With Unreal Engine 5 recently released in early access, I wanted to take the opportunity to make an improved version of the VR Pawn that comes with Unreal Engine 5's VR Template. This will be designed from a character as opposed to a pawn and aside from having the basic grab functionality, will also contain locomotion movement rather than teleportation.
    // SUPPORT ME ON PATREON
    / vrplayground
    // FOLLOW ME ELSEWHERE
    Instagram: / vr.playground
    Facebook: / virtualrealityplayground
    Twitter: / playground_vr
    // COME JOIN THE DISCORD
    Discord: / discord
    // LOOKING TO HIRE MY SERVICES?
    virtualreality-playground.com
    // CONTACT INFO
    For business inquiries: alexander.rodriguez@virtualreality-playground.com
    // CHAPTERS
    00:00 Start
    01:10 Project Setup
    01:45 Create VR Character
    05:08 Interface for Gripping
    06:42 Create Grippable Actor
    11:20 Player Gripping Setup
    17:48 Locomotion Movement Setup
    21:40 Add Actors to Scene
    23:51 Test VR Character
    26:48 End
  • НаукаНаука

Комментарии • 115

  • @kirodarkpaw2966
    @kirodarkpaw2966 2 года назад +15

    I don't know what I did wrong, I followed the tutorial exactly and the VRCharacter will not move. I can look around but no smooth moving, it just stands there.

  • @demitriusjp
    @demitriusjp Год назад +2

    As a long time game dev, vr dev, and game dev educator I would like to say this is great work.

  • @Daminoa
    @Daminoa 2 года назад

    Short, precise and straight to the point, lovely

  • @guessimjacob
    @guessimjacob 3 месяца назад

    I like how this is straight to the point and clearly shows what we need to do

  • @lildevilgamer
    @lildevilgamer 3 года назад +1

    As always great tutorial! Can't wait for next one

  • @importon
    @importon 3 года назад +18

    This is great. please make more ue5 vr videos. I know it's just a preview of ue5 but I'd love to see what issues there are in the process of making a basic replicated shooter template.

    • @enisykin1299
      @enisykin1299 2 года назад

      agree, the future by 5ue and its useful anough already

  • @jackyang9503
    @jackyang9503 3 года назад +2

    Great tutorial! Keep it coming. Subscribed!

  • @dayznchill
    @dayznchill 2 года назад

    OMG Thank you fort this. I cant seem to find another video out there that actually describes this process. Very useful information.

  • @genkia6510
    @genkia6510 2 года назад

    best vr ue tutorials by far! please do more love it!

  • @1337sh337
    @1337sh337 3 года назад

    Yes! Thanks for posting this tutorial😁

  • @casperap5573
    @casperap5573 2 года назад +7

    Great tutorial, thank you for this. I'm a beginner in unreal engine and I can easily follow along, but I don't really know why you are doing certain things. Maybe you could explain a bit more in future video's what you are working on and what it's going to do.

  • @santiromero7057
    @santiromero7057 10 месяцев назад

    Mate, this is such a great tutorial. Working on a research project with Masters students for my university, so I'm unfortunately having to use Unreal Engine 4, but this tutorial still holds up. Big Applause.

  • @Sentient_Pixel
    @Sentient_Pixel Год назад

    Thank you dude this is what i was looking for

  • @mynameissethy
    @mynameissethy 2 года назад

    THANK YOU SO MUCH. ive been looking for a tutorial like this for ages and this helped alot ♥

  • @kalibrador
    @kalibrador 2 года назад

    clear explanation bro, keep it up, subscribed!

  • @agostinodomanico6067
    @agostinodomanico6067 6 месяцев назад

    you are fantastic! amazing video, keep it up!

  • @Zinx153
    @Zinx153 2 года назад

    This is great stuff, ty!

  • @Basrawulf
    @Basrawulf 2 года назад

    just waht i needed THX pal

  • @estilara
    @estilara 2 года назад

    awesome tutorial! tysm

  • @johnnybaby7268
    @johnnybaby7268 2 года назад

    You’re a fkn legend bro, thank you

  • @FaitelTech
    @FaitelTech 3 года назад

    Awesome! Keep it up 👍

  • @Jabaliblanco
    @Jabaliblanco Год назад

    Excellent video!! Thanks!!!!!!!!!!

  • @DefacedProductions
    @DefacedProductions 2 года назад

    Great stuff, subbed

  • @ithec25
    @ithec25 Год назад

    it's great thank you

  • @RawrEevee
    @RawrEevee 24 дня назад

    For anyone running Unreal Engine 5.4, Axis and Action mappings are now deprecated. That means you just have to manually map in all the controllers instead of them being there yourself.

  • @MarijnVideos
    @MarijnVideos 3 года назад +1

    thx!!

  • @rendezvousVR
    @rendezvousVR Год назад

    My dude jus put me on game with this one. thank you, thank you!

  • @DronX_
    @DronX_ 2 года назад +2

    in the three dots a side of compile button, you can select to save every time the compilation is successful. so every time you compile don't need to click on save button :v

  • @SpritzoGames
    @SpritzoGames 2 года назад +14

    I'm running into trouble when trying to pick up the object after I've already picked it up and dropped it once.
    I can grab the object with either hand and it attaches to the motion controller, no problem. I can then drop the object with that same hand, no problem. But after I drop it, I cannot pick it up again with either hand. It's having trouble attaching to the motion controller at this point. I'm using UE5 EA2, could it possibly be an engine bug? Others have said they're having the same problem.
    Great tutorial otherwise
    EDIT: I solved it. I missed a crucial step at 7:34 that he didn't verbalize, and I must've not seen him set the Static Mesh as the root component of the Grippable Actor. I was trying to build and follow along at the same time, and missed him set the new root component. Good to go now!

    • @coffee-coco
      @coffee-coco 2 года назад +2

      it saved me the day thank you!

  • @VirtualSteven
    @VirtualSteven 3 года назад +2

    Excellent tutorial. I followed along and got it working perfectly. I couldn't get Unreal 5 working with my Rift S for some reason, but the tutorial works just great on Unreal 4. Please keep making this content :)

    • @kevinvonbriel
      @kevinvonbriel 2 года назад

      I have the same problem, did you figure it out? It doesnt move the character, maybe he doesnt accept the movement axis yet.

    • @VirtualSteven
      @VirtualSteven 2 года назад

      @@kevinvonbriel I haven't tried it again since. I'm using a Quest 2 now and looking to restart my U5 learning again soon.

    • @kevinvonbriel
      @kevinvonbriel 2 года назад

      @@VirtualSteven i found another Tutorial which helps me out. Just search for Half Life Alyx Movement, but didnt remember if it was a german tutorial

    • @ankushcl1425
      @ankushcl1425 6 месяцев назад

      @@kevinvonbriel its the same here tried everything still doesnt work

  • @hamidmoosavi7283
    @hamidmoosavi7283 Год назад

    Amazing and technical Video, i have a question, which part of blueprint i have to modify to do the locomotion with right controller instead of left controller?

  • @zhekunwang8589
    @zhekunwang8589 2 года назад +1

    Hi, thank you for this amazing tutorial. I am really really keen to know how do you use the right controller's thumbstick to get the up vector to achieve the movement of going upward as if you are taking off like an airplane? I tried to start with InputAxis MovementAxisRight_Y, then put down the get up vector and rest of the nodes are excatly the same, but it didn't work. Could you please explain in a reply? Thank you so much, great tutorials!!

  • @josevelasco2197
    @josevelasco2197 2 года назад

    great tutorial ! thanks, It worked! how can I adjust the speed of the locomotion? mine moves too fast, thanks again

  • @carpfishprodcuts
    @carpfishprodcuts Год назад +3

    Looks like axis and mapping actions are deprecated any chance to explain how to make it work with Enhanced input actions. thanks

  • @Hello-rh4zw
    @Hello-rh4zw Год назад +1

    Whenever I try connect the component in event grab to the Attach Actor To Component, it does not allow it and the output is red instead of blue! Great tutorial and thanks for the assistance

  • @jonwafer7180
    @jonwafer7180 10 месяцев назад

    Thankyou for this mate great help.... but im confused as there was no part showing how to add Rotation? Only forward and back motion? Can anyone help?

  • @gustavomonteiro2008
    @gustavomonteiro2008 2 года назад +1

    Have you tried to use the Third person character and "VR enable" It? I am trying to toggle between 3rd person and VR mode. But keeping the same character

  • @Nynex
    @Nynex 3 года назад +6

    Thank you for the in-depth tutorial! You're a great teacher. It was a bit fast paced but luckily youtube has a .75 speed function :)
    I think I followed very closely but the release isnt working on the grabbable static mesh. Although I am able to transfer from left and right controllers.
    Also I am able to walk into some of the meshes, do you think its because we set the player capsule to 1.0?
    Do you think also you could add a smooth rotation with an optional snap in the next tutorial?
    I am trying to just setup my own UE5 VR Template or if you can create one on your Patreon Id be happy to join.

    • @Nynex
      @Nynex 3 года назад

      I joined your Patreon anyways :)

    • @VRPlayground
      @VRPlayground  3 года назад +6

      Hey Thanks! The reason the player is going into the meshes does have to do with the capsule, it is something I'm planning to address in a future video. Along with a number of other additions to the player, including smooth and snap rotation. I try to not make my tutorials too long, and I just thought all of this would be too much to cram into one video.

    • @Nynex
      @Nynex 3 года назад

      @@VRPlayground keep up the good work

  • @izzyharvin
    @izzyharvin 2 года назад +1

    Can this blueprint also be used for Unreal Engine 4? Having trouble making a movable vr player. Thank you for the help.

  • @ShiroCanGame
    @ShiroCanGame Год назад +2

    wanted to ask if one will be made for the enhanced input system.

  • @dAkiD2eLiTe
    @dAkiD2eLiTe Год назад

    Great Tutorial, I followed it and had everything working great however, when I brought the VRcharacterBP into a new level I drop to the ground as soon as I start the preview, is there any fix for this? would appreciate it greatly.

  • @riccardocorsi8344
    @riccardocorsi8344 Год назад

    do you have an idea of how to make the Pawn move with the new Enhanced Input. It doesn't seem like the procedure you described works anymore now.

  • @acosmis9301
    @acosmis9301 Год назад

    Your tutorials are awsome . wold you please give me an information that Is ue 4 /5 widget Web browser works in quest VR ? I am stuck on it .

  • @vincentladouceur653
    @vincentladouceur653 Год назад +1

    is it still relevant now with the enhanced input action? I cant make in work in 5.2

  • @johnnybaby7268
    @johnnybaby7268 2 года назад

    Thanks but I hit the wall when I got to player gripping setup. I don’t have GrabLeft or GrabRight or anything from “input.” It may be because my project is the Third Person template instead of the Virtual Reality template. I’m hella mad lol

  • @riowahaab
    @riowahaab Год назад +1

    Tried to follow this using 5.1 and it did not work very well. Do you mind to create one in 5.1?

  • @ninomancuso7021
    @ninomancuso7021 Год назад

    Thank you for the video, just a quick question. Does the VR Template have gripping already setup for the Oculus Quest 2? You say you're creating the interfaces to create different types of gripping with the controllers, but is there a default (in the input mapping) that should work right when you startup? (I ask because I followed your other tutorial on packing for the oculus, but the only control that works in my ue5.0.1 VR template by default is the right control teleport, none of the triggers)

  • @endeshaw1000
    @endeshaw1000 2 года назад

    Thank you very much for this awesome video with all the important little infos. Im sure it works with the correct HW, but unfortunately it doesnt work for me cause Im using the vive cosmos and i cannotget the button mapping to work. I do not have an ini file I can import to select in the Input section the correct buttons. I just have the usual teleport-motion but nether the grabing nor the continuous movement seem to work at all :...( , and the grabbing only works in demo-template but not with the own made graphs. I tried it again and again. It appears I have to whait until the new headsets become cheaper or i win in the lottery. I Cannot understand why HTC is punishing us for buying the Cosmos with lack of implementation in Unity and Unreal -.-

  • @WonderBoots
    @WonderBoots 2 года назад +2

    how would i would i simulate physics after the actor is dropped?

    • @TheRealE.
      @TheRealE. Год назад +1

      the fix is very simple this might be too late to answer but at the end of the release code on the object you have to add simulate physics and make sure that simulate is ticket

    • @WonderBoots
      @WonderBoots 7 месяцев назад

      @@TheRealE. dont worry thanks for the reply, i figured it out in the end! :)

  • @wiktoriapoch2679
    @wiktoriapoch2679 Год назад

    Does anyone know how to add a bigger collision volume so that the character can't go halfway through a wall?

  • @ibrews
    @ibrews Год назад

    heyo ! how do you snap turn with a character?

  • @arjunkhatri8401
    @arjunkhatri8401 Год назад

    this works but how can you control the speed of the character?

  • @Deek311
    @Deek311 Год назад +1

    I have downloaded the templates and feature packs for Unreal Engine 5, but when I try to set a custom display mesh and search for any of the controllers, nothing appears. Do you know how to fix this?

  • @42kellective
    @42kellective 2 года назад +1

    Lovely tutorial. Unfortunately there is a known bug (UE-19545) that prevents interfaces from appearing in the actor blueprints. Is there any work around?

    • @42kellective
      @42kellective 2 года назад +1

      Nevermind, you can find them on the event graph itself.

  • @estilara
    @estilara 2 года назад

    hey there, the grab part is working but when i release it I can't grab it again, what can i do to fix that? thankss

  • @genkia6510
    @genkia6510 2 года назад +1

    how to implement rotation in that?

  • @izzyharvin
    @izzyharvin 2 года назад

    My character seem to no move and I’m using unreal engine 4.27 and HTC Vive. I think it’s my axis mapping when it comes to moving. I choose Vive Trackpad X and Y for the left hand. Help if you can thank you.

  • @VirtualSteven
    @VirtualSteven 3 года назад

    How can I implement rotation using this method? I am stumped

  • @catdsnny
    @catdsnny Год назад

    Multiple overlapping actors on grip is going to break it - you should find the closest actor that is grippable and then attach that at the end, or at least break out of the foreach loop

  • @slhx8956
    @slhx8956 Год назад

    How to enable the ability to use the hrab component with this character

  • @hughgames5371
    @hughgames5371 3 года назад +2

    Hey can you please do a tutorial on how to set up Android SDK for Unreal as ive tried everything and mine keeps erroring out saying SDK not set up

    • @DakotaRileyMedia
      @DakotaRileyMedia 3 года назад

      Hey there, I have a tutorial for 4.26 that should work for 5 as well, although I am thinking about creating a brand new tutorial for UE5 specifically. feel free to check the old version out here: ruclips.net/video/YKnjMC3OHLI/видео.html

  • @GangsterFrankensteinComputer
    @GangsterFrankensteinComputer Год назад

    What did you do with the static mesh?

  • @cjolsen8058
    @cjolsen8058 Год назад

    Cannot get my character to turn or rotate just move. Any help would be awesome.

  • @patryckibbs
    @patryckibbs 2 года назад

    My character is moving in the motion controller direction, not in the thumbstick direction. Any idea? :/

  • @wayneroyrutherford
    @wayneroyrutherford Год назад +1

    How do you add hands

  • @onerian8178
    @onerian8178 Год назад

    not sure if its just me but im having a problem where i can grab the object once then it wont move again

  • @DakotaRileyMedia
    @DakotaRileyMedia 3 года назад +1

    I have tried out your tutorial using oculus and while locomotion works, the grip system does not. I've followed your tutorial to a tee and I am not sure why it won't work. Did anyone else encounter this issue at all? Could it just be a bug in the engine and restarting might help?

    • @DakotaRileyMedia
      @DakotaRileyMedia 3 года назад +2

      Nevermind, I found my issue. Turns out that I goofed and forgot to plugin the grippable_instance when setting up the grab axis mappings in the VR Character

  • @chudwarrior7
    @chudwarrior7 2 года назад +1

    Something that happened to me was it all works fine and dandy but once I let go of the cube the first time I cannot pick it up again

    • @Xathian
      @Xathian 2 года назад

      Yep it's the same for me. Rewatched the video and ensured my entire setup is exactly identical to his, so this must be something to do with an engine change since the video was made. One thing I noticed is that his Release (Message) has an Input and Target node on the left side. Mine has Input, Target and Component. So clearly the node that's not functioning properly for us also has changed.

    • @SpritzoGames
      @SpritzoGames 2 года назад

      @@Xathian I had the same exact problem but I just solved it. At 7:34 he makes the static mesh his new root of the grippable actor. I missed this step when building along, but it fixed the problem.

  • @starrymic6588
    @starrymic6588 2 года назад

    Was this done through OpenXR or SteamVR? The template I think starts with OpenXR but you never specified what you're using.

  • @gimmiemyfuckingname
    @gimmiemyfuckingname 2 года назад

    why does this grabbing method only work for cubes? as soon as i change the mesh, even if i make a separate blueprint it no longer works. nothing happens at all

    • @casperap5573
      @casperap5573 2 года назад

      Do your meshes have the same event graph copy pasted on them?

  • @Always02496
    @Always02496 Год назад +1

    7:17 For some reason for me I can only add an inherited interface, can someone help me?

  • @FunnyLeosVR
    @FunnyLeosVR Год назад +1

    Do you really had to place your face in guide video? I literally can't see what's going on behind it

  • @christianbellamy8726
    @christianbellamy8726 Год назад

    I tried following the video step by step and everything but the grab function is working. Not sure what I did wrong but I tested with prints I was able to verify that the object and the controller are both registering to each other, however I am also getting a readout that says it does and does not implement the interface at the same time. Does anyone have a clue what I did wrong?

    • @christianbellamy8726
      @christianbellamy8726 Год назад

      Issue resolved, I deleted it and tried again for the 3rd time and it worked. not sure what I did differently, but glad that it works nonetheless.

  • @FunnyLeosVR
    @FunnyLeosVR Год назад

    this guide doesn't work with new "enhaced input mapping" stuff. Tried to make this work for 2 days. no success

  • @hotbergina
    @hotbergina Год назад

    Hi, I cant find the vivecontrolller mesh.... please help. 3:20

    • @virtualbaker
      @virtualbaker 11 месяцев назад

      ​@@ProgNoizesBI have this problem also, but I see you have mentioned in a few comments that this guy doesn't exist outside of uploading a video. Shame really 🤷‍♂️

  • @dam55ian
    @dam55ian Год назад

    no clue what happend here haha but i have as result 2 flying balls 2 flying vive meshes and handshoes? no clue where those came from but locomotion didnt work

  • @Fecatah
    @Fecatah 2 года назад

    No turning? Why is smooth turning so difficult...

  • @guessimjacob
    @guessimjacob 3 месяца назад

    gonna leave a comment with a timestamp where I'm currently at so I can return later
    8:46

  • @EthanFilms
    @EthanFilms 3 года назад

    Can we use lumen in vr?

    • @VRPlayground
      @VRPlayground  3 года назад +1

      No, from what I have found, and other I have spoken too, it seems no XR platforms support Lumen

    • @jkr9594
      @jkr9594 3 года назад +2

      it worked for me (with a bit of hacking around), but i had 1 frame per second at max. (with a 1050ti, a friend could reach 10 fps with his 3080)

    • @chromativerse
      @chromativerse 3 года назад +1

      I believe nanite is also unavailable for use in VR projects in the early access.

    • @lildevilgamer
      @lildevilgamer 3 года назад

      @@chromativerse That was what I was about to ask. Having seen performance increase it does on PC I was hoping we could get more complex scenes in VR as well.

  • @GangsterFrankensteinComputer
    @GangsterFrankensteinComputer Год назад

    Skip to 17:48 to learn how to add simple joystick locomotion.
    Rest of tutorial is about creating a VR character that can grab objects.

  • @antoninloucka4665
    @antoninloucka4665 2 года назад +2

    For me, it just doesn't work.

  • @SilverMLP
    @SilverMLP Год назад

    Лучше использовать направление камеры. А почему я могу взять только один раз. Беру, отпускаю, и больше взять не могу. ( It is better to use the camera direction. And why I can only take it once. I take it, I let it go, and I can't take it anymore. (

  • @billiejean9909
    @billiejean9909 10 месяцев назад

    U are very good, but i have noticed that you hardly reply to ur subscribers, i have been waiting for answers for quite some time, or do you only reply to ur patreons instead? hope u can understand, coz there are only limited VR tutorials for UE5+ on certain topics and you are one of the few expert who can help. if your policy doesn't give the privilege to normal subscribers questions to be answered, pls do let us know, so that serious devlopers have a clarity to join patreons. tks bro! cheers

  • @gottcha0330
    @gottcha0330 25 дней назад

    I can't even start the game in v...

  • @Taki7o7
    @Taki7o7 3 года назад +1

    pls use RTX voice to get rid of the keyboard sounds :D

  • @AfterFX16
    @AfterFX16 Год назад

    faster

  • @drmarcioonida
    @drmarcioonida 8 месяцев назад

    You know your stuff, but you explain a lot and on the moment of the action you go too fast. Not a begginer page. but not many expets out there... just a tip

  • @sqwert654
    @sqwert654 3 года назад

    I little bit pointless using UE5 for VR when the main features that being nanite and lumen dont work.

    • @TJ-ki3gp
      @TJ-ki3gp 2 года назад

      Epic said that Nanite for VR is going to be supported in the final version of UE5. So if you're just beginning to learn the engine, you might as well start on most recent version and by the time you're advanced in both project and skills you'll get nanite.

  • @ixiah
    @ixiah 3 года назад +6

    honestly? either move the facecam so its not blocking stuff. Or turn it off. its unnecessary and just gets in the way. I'm not saying this to be mean, its feedback on making this a more user friendly tutorial.

  • @harshparihar9857
    @harshparihar9857 2 года назад

    hey thank you for this, but I Am facing an issue that my controller mesh are not on same position with camera my controllers are on top of my camera .how can I solve that?