Unreal Engine 5 RPG Tutorial Series - #2: Locomotion - Blendspace, Crouching and Procedural Leaning!
Вставка
- Опубліковано 23 лис 2024
- Hello guys, in this quick and simple tutorial we are going to begin with my UE5 RPG Tutorial Series in Unreal Engine 5! In today's episode we will begin with the basics of the character's locomotion system, such as crouching, procedural leaning, and more!
👉Animations! bit.ly/UE5_RPG...
↪️Just opened my Discord Server, join NOW: bit.ly/GorkaGa...
➡️Whole Series: • Unreal Engine 5 RPG Tu...
👉Awesome Unreal Engine courses on Wingfox: bit.ly/GorkaGa...
Check out my Steam Game! bit.ly/3rVlXU1
Follow me on Twitter: / gorkagames
Follow me on Instagram: bit.ly/Instagr...
Subscribe to the channel: / @gorkagames
unreal engine 5,ue5,RPG game,tutorial,quixel,megascans,unreal engine RPG game locomotion,RPG game unreal engine 5,ue5 RPG locomotion,ue5 beginner tutorial,ue5 how to make an rpg game,unreal engine 5 locomotion tutorial,unreal engine 5 easy RPG locomotion,unreal engine 5 asasins creed locomotion,unreal engine 5 how to make assassins creed movement, unreal engine 4,ue4,unreal engine 5 locomotion RPG game tutorial,ue5 RPG series, RPG game series in ue5
PROJECT FILES ON PATREON! Patreon➡ bit.ly/GorkaGames_Patreon
So excited about this series! 😄 So in here we started out creating the base pillars of the locomotion system, which will grow a lot as time goes. If you want to see a video on how to create a Git Repository for this series let me know! Also animations here! bit.ly/UE5_RPG_Loco_Anims
Check out MY NEW Unreal COURSE with GameDev.tv ➡bit.ly/UE5_StealthCourse_GameDevTv_GorkaGames
What is a git Repository
Definitely would love to see a source control tutorial.
@@killerthepro756 it¡s a code repository hosted on GitHub that contains the source code and project files for the project. So you can have multiple backups, etc
@@TheDudeAbides421 great to know!
Yeah i don't see why not
Just a tip for everyone watching, @GorkaGames cleans up his blueprints by selecting them and pressing Q. He explains this in a later video but it might be nice to know for now.
He said it in this video
@@osmanclan4510 Quackers explained so in his own comment.
Its quite late in the video.
There are way more shortcuts for cleaning up BPs in a similar way. To see all of the options, try selecting BPs and right clicking on them, it's called Alignment.
YOU ARE A FKCING LEGEND! TY MAN !!4
Thank you
Man, you are one of the most clear and concise tutorial makers I've been able to find. Thank you for this, you make learning this complicated engine a bit more tolerable.
Thank you so much!! I really appreciate it!!
I'm starting to develop game. It's a course I've been looking for years, this is the first time I've seen such a detailed course. Please don't stop making videos.
How is it going for you so far , do you have a concept you can share about what your game is about
I developed a small open world anime rpg game. I took a little vacation and took a break from developing the game, but I plan to publish my game in a month. I am hopeful.
@@thothgold2768 modeling and designing the world was a really tiring job. It's really tiring to do everything yourself, but it definitely adds to the happiness of looking at your game at the end of the day.
@@berketolga Hi did you finish your game?
can't explain how grateful i am, for not only this tutorial, but the entire RPG playlist. learning so much and really helping refine and correct the janky movement in my game :)
🎯 Key Takeaways for quick navigation:
00:00 *🎮 Setting up Unreal Engine 5 RPG tutorial series*
- Introduction to beginning the RPG tutorial series in Unreal Engine 5.
- Setting up blend spaces, animations, blueprint procedural leaning, and more for character locomotion.
02:15 *🔄 Importing and organizing animations*
- Importing basic locomotion animations from the description.
- Organizing animations into folders for easy access and management.
04:07 *🏃♂️ Creating blend spaces for locomotion*
- Creating blend spaces to smoothly transition between different animations based on character speed.
- Configuring blend space parameters for character movement.
07:30 *📝 Setting up animation blueprint*
- Setting up animation blueprint to control character animations based on states.
- Creating states for idle, walking/running, and stopping animations.
11:13 *🖇️ Organizing animation states with state machines*
- Organizing animation states using state machines for better control and clarity.
- Implementing state transitions for smooth animation flow.
14:52 *🛫 Implementing jump and falling animations*
- Adding jump and falling animations to the animation blueprint.
- Configuring transitions between jump, falling, and landing states.
20:08 *💡 Finalizing animation blueprint setup*
- Initializing variables and optimizing code for animation blueprint.
- Testing and troubleshooting animation transitions and character movement.
21:33 *🏃 Animation setup for smoother transitions:*
- Additive animations designed to play on top of normal locomotion.
- Smoothens transitions between actions like jumping and landing.
23:10 *🚶 Adding crouching functionality:*
- Creating a blend space for crouching animations.
- Adjusting movement speed and camera distance for crouching.
33:24 *🔄 Implementing leaning mechanics:*
- Creating lean animations using additive setup.
- Integrating leaning into locomotion blend spaces.
- Calculating lean intensity for smoother character movements.
44:18 *🎨 Customizing character appearance:*
- Changing character model to "Manny" for tutorial demonstration.
- Adjusting material tint to give the character a blue appearance.
46:32 *💻 Setting up source control:*
- Explaining the importance of setting up source control for project management.
- Offering to create a tutorial episode on setting up source control and explaining its benefits.
Made with HARPA AI
you are amazinf
man this guy is so nice to watch. informative, smart, friendly and throws a bit of fun in there. 10/10
This is one of the most comprehensive tutorials out there AND it's completely free, so I shouldn't complain, but just a few quick notes: slow down. Both speech and clicking. You will be able to better phrase what you are saying and the accent won't mess with intelligibility so much. Say what you are pressing (and ideally why) when you do. Add some transitions. Very often, you explain one screen at one moment, then suddenly press a button, move somewhere else through like twenty menus, and THEN, in one muttered superfast sentence, explain what you did. This results in us having to pause, listen to you again, pause again, go back to where you actually started doing the action, and only then follow the actions. Combined with the long video runtime, it is hard to hit the exact time you want to go back to, so there is a lot of unnecessary replaying and frustration. It would be better to slowly say "now I am going to press this button, which you can find here, in order to do this".
I had to play it at half speed because I'm slow
If he was to do as you ask you wouldn't really be learning. You have to explore of your own to learn. To be able to follow. Just copy copy isn't a great way to remember what it is your doing. Play with the software. Do some small slow 5 minute tutorials. These will just make sense then
You make some of the best UE5 tutorials out their on UA-cam pls don't stop uploading
For the timeline, plug the uncrouch part into reverse, not reverse from end. This is so that if you switch while in the middle of the timeline, it will still look good. i.e. uncrouch when the camera is still moving
I also moved it from 'play start' to 'play' to fix the same jumpiness when crouching again while the camera is moving
what time did he do the timeline at?
Good catch!
@@kkarbokgaming4556 31:28
Dude from the bottom of my soul, you are amazing! I have only just stumbled upon your channel looking for a UA-camr who is willing to teach high quality UE5 content in relation to an RPG and I have finally found my guy!
The way you explain everything you do, your debugging and even your humour with your typing mistakes is just on point and you have instantly become my go to channel.
Only one thing though I hope for the future, please don't stop producing content! Especially, don't quit making an RPG series half way through like many UA-camrs. I understand not wanting to burn yourself out and you have a life to live but please please pleeeeease continue the series you make all the way through to the end!
Thank you so much, and have an awesome day 😊
Agree 300% Gorka Games tutorials are the BOMB!!
Extremely impressed by the tutorial so far and feel like this is the best UE5 Unreal tutorial I've seen. Thank you so much for making this. Especially loving all the extra care to details and added movement such as leaning and stopping.
Thank you so much!! I really appreciate it!!
The author is so chad; The course is absolute banger; You're making life of beginner developers so much easier, thanks a lot!!
every time i start a new project i come back to this to refresh my locomotion knowledge thxs for helping me become a game dev.
Another great series initiative for noobs and advanced UE devs Gorka! Cheers!
thank you!!
Im a front dev and this made me feel confident to download and start learning unreal. Thanks man!
those who are having problems with jump animation make sure the box is ticked in 16:30 as well as in 18:30 for aliases, the jump animation works for UE 5.3
which box? the ones he ticked or other?
@@rodericdarkwell which he has done, follow it, i found that in my case i silly missed some minor changes i skipped repeated it once and found that error now its working
You saved me such a headache. Rewatched it three times to find my bug. ❤
@@Wisco-Titan glad to help, i had same following out it for the first time.
@@Vahsir7hey, do you know something about the character only using the jump animation the first time after hitting the play button then not again before starting the again?
Oh boy, i hopped into UE at a great time. Am very new to all this but you explain it very well and i'm looking forward to run through the whole series. Can't wait to see what you have in store for us. Thank you for the amazing content!
thank you so much!!
This was fantastic. I started the course, hoping your guide would help me sort out some locomotion issues I have been having with the enhanced inputs. You did that, found more issues I was not aware of and, sorted those too. Great work, much appreciated.
I follow some of the other guys (Aspland, Laley, Beard, etc.) and those guys are really good, but watching this right here takes it to a whole other level. I'm really excited to see what you do in this series, your work is amazing. I've watched some of your earlier videos and man you have leaped into a known name now. Keep up the great work, I'm excited especially for this kind of gameplay to see what you do moving forward!
I agree, Gorka is more detailed driven
Aight im deleting unity and gonna learn unreal engine with this series :D
hahaha
you won't regret it! i made the switch and i'm so glad :)
Same
@@mechtist what is a good pc for unreal
@King wing40 u can search the system requirements but I would say at least a Gtx 1080 for minimum and a Rtx 4090 for max performance
Hearing you say Cash-a was the highlight of my day
Thanks to share your experience with this great collection of tutorials!
Thank you so much for the support! I really appreciate it! 🙏 I'm glad that you are finding the series helpful!
@@GorkaGames hey, I'm doing the crouching and as of rn it goes at the same speed as running. I've gone and changed the speeds, undid it and did it again. Like idk. I'm tryingm
@@fxtxreme back to the beginning of crouch on speed etc .. ill work i did the same and later i changed to 250 to be ltt more slower .. working fine ... take a good look on the video sometimes we miss something ...
@@maxosborn1018 i think u just need to review the video, sometimes u just need to check a little box that u missed
Great video! In case anyone is having the same issue as me and his character disappears when running after doing the leaning stuff. I moved the MM_Run_Fwd animation instead of copying it. This deleted the reference from the first blendspace and made that animation disappear. Just restore the original run forward animation to its initial folder, delete the old node at 500speed from the blendspace and put it again.
Note: If your leaning isnt working, try switching from mesh space additive to apply additive in the walk run state in locomotion. Personally I turned up the division from 10 to 15 because I felt the lean was too strong.
Thank you.
you are a life saver
My good sir can u be more specific, Thank u
@@okmovie3533 At 38:54, instead of using mesh space additive, use additive instead
Thanks. You're the GOAT
This is the first time I'm using Unreal, and you made this so simple. Everything was clear, and I have a great project to look forward to when I am done.
Very well done! Following along to improve my abilities in UE5. I used the crouched/Un crouched functionality that is built in like jump, that way I set the movement speed whilst crouched in the movement comp, and get the Is Crouched function from the movement component in the animation blueprint. I can then set the half height of the capsule whilst crouched to allow for traversal under low obstacles.
I'm really excited to see where this goes.
👀👀
Thank you! I was skeptical about the leaning, but I did it anyway, and it looks great!
I’m very happy with how simple and uncluttered this tutorial is, it’s like the apple of UA-cam tutorials.
TYSM GORKA!!! I was working on another project of mine and I've been searching for a way to do the locomotion and u were the only one who made a clear video ab it thanks a lot!!
This is Awesome! I admire you are doing that for the masses and not trying to push it as a course to sell !!! Respect
thank you!!
Having a quick épisode about how to setup source control, and more importantly, how to use it to go back to previous version would be sooooo nice 😍
It's a beautiful lesson. Thank you for what you do. This series of lessons is a huge help to young developers
thank you!
I started with the first game tutorial and once I finished I was so hiped I just keep going with the RPG series you are an amazing teacher keep it going!
Dude i'm looking forward to this series, thanks!
my pleasure!
You have been amazing and incredibly helpful. Your assistance has truly helped me sort through a difficult situation.
You are the best! This series of video are fundamental! Thank you a lot! :)
thanks!
i was struggling a bit with smooth locomotion on my project and this tackled all the little issues that I usually would wait for hours on reddit to solve. very goog
Very good tutorial, it was really good, you managed to explain many new things of UE5.1 in a simple way. I look forward to the next part and I would appreciate a tutorial explaining how it works and how version control is used
thank you so much!! I'm glad that my video helped you!
i finished your episode 2 and learned alot things ... more comming .. thank you Gorka
You forgot to set the capsule half-height in crouching. you will not be able to go under objects. This can be done by adding the functions "Crouch" and "Uncrouch", or setting "Capsule Half Height in your input action.
How would I go about doing this? I went into my input action but I'm not sure where I would add that
@@ckatzell You do that in your character blueprint where you set up your crouch action. just left-click and type crouch and add it to your sequence. Do the same thing for uncrouch when you stand up. Make sure your capsule is set to visible so you can make sure it's working.
Bro you are the hero we need but not the one we deserve...
Did everything you said step by step but the jumping to landing animation isnt working, the character just keeps floating help!
same problem
I'm making a top down diablo like RPG, these tutorial looks really helpful even if it's another type of game! Thank you!
Sounds dope, good luck with that project.
whe you are running and jump for the firts time the animation of jumping goes normal, but when you jump for the second time i row the animation jump stop and its play the run animation.
i thougt could be the animation order i tried to, but i could not fixed it
he purposely didnt run and jumpp hm
update, it is the additive land animation that is causing the issue. if you try to jump before the animation finishes it doesnt actually transition to jump it displays its base animation of running, then when it finishes it starts the jump animation. Make a link from land to jump directly with the same transition as to falling into jump.
@@editoe_b Hi mate, I have that issue and tried the fix, but it didn't help. Can u elaborate?
You are great at this! After quitting Unity learning unreal engine has been confusing, this was really helpful can’t wait to make my first game!
Great man! I am learning about animBP from many tutorials and this one is the best so far! Thanks. Ciao!
thank you so much! I'm glad that I could help!
Good to know! Which other animBP tutes could you recommend??
When you scroll up and down when the video isn't in full screen at 2:37 it creates a cool effect.
I followed this tutorial using 5.3.2 and was smooth but then i got to the lean animation. Something just isn't right. I got it all done but now my when my character runs it waves its hands up and down and leans quickly left and right. It is just hilarious.
same but its getting kind of anoying
@@2o2B same did either of you guys ever find a fix
For anyone willing to make nice transition between jumping and crouching, use the conduit node in your "Main" animation graph to choose between "Crouched Locomotion" and "Unarmed Locomotion" after "Land" node and use your "Is Crouched" Boolean to toggle between the paths.
Can you explain more about how to do this please? looking to do this myself but a tad lost. thank you so much!
Or if you want to go directly from crouch to jumping then just add unarmed crouched state in falling state allias. It then shows as in games where character directly transitions from crouch to jump and then goes back to crouching.
YEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSS 😄 now this is podracing!
hahha 💪💪
@@GorkaGames 30 minutes and 20 seconds You said you were turning away the camera The camera is far enough Also, not afritting in Assassin Creed Origins You have to tradition You can be better than them Thank you, your channel is amazing ❤
I needed this locomotion section so bad. Can't thank you enough man.
Great tutorial! I have a question, and maybe you address this later on, but when the character is crouching and you press jump the character jumps while still crouching. How do you transition from the crouch into a jumping animation?
Just starting this. Does he address it later?
@@jared875 Yes I think he does later in this video or in the beginning of the next one.
This is addressed later in the series in case anyone else wonders this.
Player can still jump while crouching, but it´s easy fixed with a "Branch" Node and "Crouched?" Condition. Very nice tutorial!
Hello! Where should I put this to work ? Thanks!
@@kershiveryt1816 i know it's been 7 months but for the same confused souls i'll say that it should be done in BP_ThirdPersonCharacter Event Graph - Jump Input
I think theres an inbuilt Event for crouching aswell just like the jump Event
yeah there is. But I prefer to create my custom one as later on we can customize it much more
@@GorkaGames okeh 👍👍👍
Have a feeling that this might explode. People love the hard works
thanks!! 👀👀
Si les pasa que si saltan seguido no se da la animacion de saltar, solo activen la casilla land en el State Alias "To Falling" 16:36
Can you go into more detail, I encountered this problem, I'm new and didn't really understand the solution😢😅
Graciaaaaaaaaaaaaas
THANK YOU!!
당신은 고수이면서 친절하게 이런 동영상을 만들어 주셔서 감사합니다^^
At 19:28, what shortcut does he use to get the velocity variable from the node to the connection link?
Thanks!
double click on the string
Thanks!@@123wolfrider
This man is god of Unreal Engine! Keep growing mate!
are we making AC Origins? awesome series. don't forget faith of leap mechanic please 😄
yes!! Hahaha that has to be 100% in the series
YO THE TONGUE CLICKS ARE PERFECT
I love it
made me laugh
keeps me engaged
comical relief from the slow work
please do it more LOL
Great tutorial, I noticed that I'm able to jump while crouching. Is there any part I may have missed, or will that be fixed in upcoming episodes?
fixed in the next episode!
@@GorkaGames You didn’t fix it in episode 3
that crouch camera, trick was lit!
not sure what happened during my jump and falling sequence, but my character continued to fall for way to long before landing. A quick fix was setting the priority of falling animations to 2. (he may have covered this and i just didnt catch it) but if its a problem somebody else runs into, there is your fix.
Also make sure you checked the falling and jumping boxes in the 'To Land' node
OH MY GOD you just saved my life thank you very much
still have the same problem and the character scale goes nuts during the landing animation dont know what to do, i tried deacrising the value of Alpha but i feel like it skip the animation can you help me?
@@blackthunder3198 you're the goat!
I love your whole tutorial because of all of them are soooo clear and easy to understand love you man
Hi I can't seem to see the animations pack in the description. Thanks for the tutorial btw it looks insane!
yeah I forgot but here there are: bit.ly/UE5_RPG_Loco_Anims I have just updated the description too thanks for letting me know anyway!
@Gorka Games no worries it happens haha. Thank you again sir!
right, there´s no link to that. didnt watch the video yet, but maybe you can search for it manually if you can see the pack´s name in the vid?
I don't understand English because I'm not from Europe but I followed your tutorial well to learn Unreal Engine...Thank you very much for the tutorial you provided
I hope to be like you in the future and look forward to your courses on Udemy with complex material.... Thank Bro
Its a good tutorial on how to set up a system and replace/tweak it. But theres sadly no explaination (i know the video would be 10 hours otherwise), what each function and step does.
Because theres no way somebody learns how to build a game/animation system for different things with this if he does not know what each node REALLY does in depth. I mean you are pretty much just showing us how to connect nodes to make certain things work, but not how what they DO.
We need to know the tools that we have and how to use them. And this is pretty much just a instruction on how to build something. You are telling a Carpenter on how to build a night stand, but not how he can do other things with his tools, for example a cupboard. We should be able to figure out how to do different systems with the locomotion system without needing a tutorial for each and every possible thing that can be done. Because i guess nobody would know after this tutorial how to implement a jump over obstacle system. I mean yeah you could do another tutorial on that, but we should be able to do it ourself without any tutorial if you would teach us how everything works here.
Just found your channel. Getting back into UE after a long lay off, this course looks awesome. Just what I was looking for, thanks you.
Watching this again a month later just to make sure I don't screw up the animations for my weapons and magic. Love this!
I dont think this video was too long at all. Awesome video! Very informative and learning. Now that ive watched the whole thing, imma subscribe and take all this info in.
just a tip If cant find event graph in third person charcter blueprint .... you caan open it with double click on the left side collum in GRPHICS section
I am going to join your patreon. I have learned a great deal about UE5 from watching your videos. There are times I have to slow play to .25% to catch exactly what you have done, but that's fine. I'll end up watching this a few times to really get the concepts down, so I imagine the third or fourth time through, I'll be wishing for a faster pace. The first two or three times through I'll wish everything was at 1/2 speed :)
Vielen lieben Dank aus Deutschland, ich habe gleich mal ein Abo da gelassen.
Hoffe ich lerne mit meinen 56 Jahren ohne Englisch Kenntnisse genug um UE5 zu verstehen und Hobby mäßig irgendwann etwas eigenes zu erstellen.
Automatisch erzeugter Untertitel mit automatischer Übersetzung. Bringt zwar mal unverständliches zu Tage, aber das bin ich gewohnt. ;-)
Thank you very much from Germany, I left a subscription right away.
I hope that with my 56 years of age and no knowledge of English, I will learn enough to understand UE5 and create something of my own as a hobby at some point.
Automatically generated subtitles with automatic translation. Sometimes it brings incomprehensible things to light, but I'm used to that ;-)
One thing I'll say is for newbies (like me) I had to pay a lot of attention when he would be dragging in variables since he repeatedly said "get" and then would "set" the variable. So just watch carefully at what actually ends up in the grid.
22:50 if someone stuck because the jumping is not same as in the video then
Go to ABP_RPG_Character tab > AnimeGraph > Main > double-clock on Jump > and attach output animation pose to MM_Jump instead of other
Ended up reversing the "lean" animations. Got to the end, and just running forward made my character lean to the left, not matter what direction i was running
Thankyou for this great tutorial, i am looking forward to learning more about UE5 from you, cant wait to see were this game tutorial takes us.
You're amazing. I was thinking about adding a lean to the crouch animation as well since it's basically the same process and once you get to the point of creating the Yaw Delta Float value you just take the same one you made for the Run lean and plug it into the multiply by -1.0 In the crouch Locomotion Blueprint
OMG, Is this the video I can watch for free? You're the real god.
This is a great tutorial so far, Gorka, you're awesome.
Another excellent video bro, keep up the amazing work. I'm honestly following along with the series and enjoying it a lot. It is helping me a ton on learning to use UE5 :)
I have been following your tutorials for quite some time now and I just gotta say. DAMN, MAN - YOU ARE AMAZING!
You are my main source if I need something to be done. Only when I need to modify it by my type of game, then I google it :D
A thousand "thank you" isn't enough, so if I will make something profitable of what I will create (and create I will!), I will not forget to share some with you
Great tutorial and series. I found that in last week. I'm a .NET dev, and I remember that on my study times I played with Unity. But this blueprints system is amazing in UE :D
So I think I will back to making projects for rest hehe. Thank you :D
You got a new sub man, thx for the serie. Keep the work up!!
Really really nice video! Thx for this! I switched from unity to unreal and this video was so good :)
I can not thank you enough for this series
just as i want to get into Unreal Engine (after failing unity) you upload this 12- 13 hours ago. thanks
1:17- 1:18 AM
Wednesday, February 22, 2023 (EST)
New subscriber, Your way of working is very clean and efficient, the way you explain is very great, thank you very much from the bottom of my heart for sharing your content ♥♥♥
Just finished that lesson! Thanks for the great source of knowledge!
For anyone having trouble with the landing animation playing: Make sure you've checked the boxes at 18:40.
awesome 😅 thanks . you a life saver
watched this at half speed for the coding and still stuffed up, my brain is too smooth
Just finished this whole video! Amazing job! Learned alot, dont really understand why I am doing what I am doing but I assume I will grasp it more as I go on.
I actually really like that bug when we added in jump and land and it made the char disappear. Looked really good and could be used for an ability.
Yea It happened to me to Its like before adding the additive
lol
Such an amazing video covering many Helpful Topics
Just what I needed! :) Very simple to follow and to apply to my own game. Thank you so much for this tutorial series!
Buen tuto la verdad que me cuesta un poco el ingles pero todo ok asta que le das muchas veces seguidas al salto y cambia la animacion a correr en el aire solo cuando le das seguido si le das con una pausa de 1 segundo todo perfecto. gracias y seguiremos aprendiendo
you are the most real Tutorial maker ever, the fact that you forgot a -1 multiplicationa makes me sure you are not an AI :))
BTW i got a little bug, jumping and landing would not work on crouctsch, and im proud that i figured out on myself, did you guys have the same problem?