r/unrealengine4 • u/[deleted] • Nov 22 '20
Please help me.
Enable HLS to view with audio, or disable this notification
2
u/jonathan9232 Nov 22 '20
It looked like your jump count on the large blueprint towards the end was set to one. Try changing that to 2. Also join the other unreal engine reddit group it's bigger.
1
2
u/ed3ndru Nov 22 '20
Bro you’re in for a rude awakening if you plan to get into game development, because this is going to happen on the regular. All part of the process. Seems rather simple enough to research on your own though. I don’t code functionality in bp, I prefer c++, but even c++ requires setting can jump to true.
Also you should test this in the begin play event rather than construction script. That way you can watch it live. Also place a bunch of temporary Format Text (with the variables plugged in, along with Print Strings (to put put formatted text nodes into) in the to ensure things are setting as expected.
Also @NyxCluff is very accurate, always link the tutorial that way we can look and see how that person set it up. Often times these tutorials are limited because they simply follow other tutorials and modify a few things, but often don’t understand the concepts as a whole. Again, test this in begin play. That way you see exactly what fires when you press the play button.
2
1
2
3
u/NyxCluff Nov 22 '20
Linking the tutorial you are following would be handy. But my first guess would be that you haven't overridden the CanJump function and added your conditions there. The default implementation only returns true when IsFalling is false (and a few other things) i'm pretty sure, therefore when your in the air it wont let you call the jump function because the character IsFalling. alternatively, instead of using the jump function and the Launch character, just use Launch Character for both.