Unreal Engine 4 - Advanced Wall Running Tutorial (2/5)

preview_player
Показать описание
Support the channel through donations. Crypto accepted!
Bitcoin: 1JFwWHr4X6uAeoZadukzqKjzFBj3Qjy7Sk
Ethereum: 0x2B2Bc108F1Cc0fF899959dEF3226637787d8C3dE
Dogecoin: DNQ33YnhpWoTBokBNVkZP5ub8KTLkpyjpv

Join our community discord!
Рекомендации по теме
Комментарии
Автор

Great tutorial! Works great on UE5.
For anyone having the "stuck" direction when double jumping, I've resolved it by resetting both axis (Right/Forward) to 0.0 when landing and when a Move (InputAction) is completed.

provomeister
Автор

This is a very good tutorial that can help to understand the physics beneath the wallrunning - i think the implementation is also very clear and is not a spaghetti, so thats a big +. It helps a lot creating mechanics for your project. If you are reading this, thank you, you are amazing. This is the knowledge that is very precious, and the fact that you are sharing this with us is more than beautiful.

TheNaruciak
Автор

15:04 it could just be in UE5 but if your having problems with your character not moving in the right direction what you need to do is split the pin structure from the launch direction*Jump Z Velocity (LD*JZV) at the end, and take a ref of just the launch direction (LD) with its pins split as well. take the LD and plug in the X and Y to the return nodes X and Y, then only put the Z of the LD*JZD into the returns Z. Without doing this personally i moved forwards while jumping back and backwards diagonally when jumping left and right.

Also if you are in UE5 modified max speed doesnt exist and you cant do the 2D vector divisions anymore. My work around was current velocity > (max speed float) into a branch, if not true do nothing, if true take the actor forward vector*(max speed float) split the structure to get X and Y, then use a set velocity, split the structure plug in the x and y you just got a second ago, and then use a float value for Z if you really want (make it more powerful if this is in 2 steps and const check the Z velocity verse a separate float so your max vertical speed is not the same as your max horizontal)

SilasMckeeIII
Автор

Thank you for your full explanations of the logic and the recaps, it is extremely helpful for us that are learning and trying to understand the logic. Also, thank you very much for explaining how to use the Event Tick properly with the clamp. In the classes I've taken it is always said to never use an Event Tick when possible, now I know how to use it better. I appreciate you sharing your knowledge and thoroughly explaining these concepts.

padala
Автор

For anyone trying to implement in UE5 you might have to set the # of jumps yourself in the Event Graph. Go to the jump branch and look for reset jump. Then the node that says "Set" you will see jumps left with a number next to it. If the # is 0 change it to 2 and that should do it.

Patti-bt
Автор

Great so far! I'm making a very speed-focused game so I decided to not clamp my horizontal speed, since I want to make a powerup that gives you an extra jump/boost which I think in theory should be a method of increasing your momentum. My next thing to implement after wallrunning (which will have a locked speed, legs only move so fast) will be sliding which is the only method of maintaining above-capped horizontal velocity while grounded.

louwashe
Автор

I am using 3rd person and using the c++ code. @11:24 I cant assign the variables. how do i work around this ?

hussainalkhayat
Автор

getting an error on clamp horizontal velocity pins are not lit up starting at dividing max speed to greater than ect could it be a return value issue? also on UE5 thanks!

renerdgaming
Автор

im fairly new to unreal, and decided i would use 5.03 to carry out my project because of other things that would not work in other versions. at 11:53 I couldn't get the "vector multiply" node. any tips or ways i could do this?

discombobulateddev
Автор

So far, this tutorial seems great but one thing I'm curious about it whether I can safely cut out all the double jump stuff and how to do so. I'm using a Third Person template so I already know some code will need to be modified because of that but I'm not using double jumps in my game. Any chance of a UE5 update to this tutorial with Third Person focus and no double jump? I can figure out the animations on my own because I like making blendspaces converting animations to Manny/Quinn from places like Mixamo but it's difficult to follow along while also converting to the new template.

JWaltz
Автор

I was using your tutorial. Now my character cants move forward or backward.

watermeloncult
Автор

I'm probably shooting in the dark for asking this now, but I'll give it a shot. How do I turn the jump into a variable jump? Tried adding a timeline node to the code (placed it before the launch character node), and when I hold the button, it launches me forward like a rocket. Is there a way to fix that?

Take
Автор

when ever i use the set launchdirection node it says that it cannot be set in this context and that its readonly?

portalj
Автор

around 18:30 i did the fix as you did but i still can't jump however when i walk there is a jump animation(the gun holding moves) but i can't jump once or even twice, any help could be good...








Anyways i'm totally new to UE4

kevinrafael
Автор

hi i am having the same problem as @GoodStar Gaming and i used breakpoints right but it said there was a problem with the reset jump by the event begin play and by the clamp or launch character section as well as my begin play node, and idea how to fix this?

ui_speedzy
Автор

Hi, I am at the end of part two, but my issue is that I can jump an infinite number of times. I am on UE5 and I am pretty sure I have copied everything you have done 100% so I am unable to figure out what the problem is.

But I would assume it has something to do with the consume jump macro, and the "jumps left" variable and I dont really understand how the jumps left variable works.

Appreciate any help, thank you.

kreystian
Автор

My character has the emote it dose whin it jumps but dose not go up?

slidecode
Автор

Hello man i have a question?Before 18:47 I did everything the same, but player jumped only strongly to the north.X( I mean i try to jump to the south but player jumped to the nort.Any ideas where I mislaken?

illyakolisnyk
Автор

could you make a new lean tutorial for people who dont use animations

MrRybizzle
Автор

i was doing this in a 3rd person template so my character can have a body and i got stuck at 16:53 i dont have that in my 3rdperson character blue print the "Event BeginPlay" in the event graph what can i do? i followed along everything up until that point idk what to do the jumping isnt working. Please help thanks!

zarawte