Can someone PLEASE explain what the hell im doing wrong here, im trying to make it so my character can ONLY dash once after they have jumped. I already have double jump logic so idk if its conflicting or what
Hello @GuineaGames
I think the problem is within your first BRANCH in the input action dash.
Firstly, remove your unused boolean pin. It will conflict and because the value is false, your branch will NEVER success because 1 false in the AND = False.
Second, looking at what you want to achieve, only Dash ONCE. I think you have to put NOT for the HasDashed. Because if you doesn’t put NOT in there, that means your branch will only return True IF player is Jumping and IF player is ALREADY dashed.
You actually fixed it god bless you my friend thank you so much, im still very new to blueprints so im struggling lol !!
Nice! I hope everything goes well for your project! God bless you too!
Just another question, is there a way to maintain velocity during my dash? As soon as i dash my character sort of declines immediately if you know what i mean, many thanks!
You need to tweak the variables is your character’s “Character Movement” component.
What you’re looking for is “Braking Friction”.
The higher the value the more sudden is your stop after dashing.
To keep your momentum you need a lower value (the default is 2).
Try 1 or 0.5.
Whatever fits your needs.
Note that this will also affect your regular movement (with W,A,S,D).
Consider experimenting with Timeline
+ Character Movement Component
.Velocity
. Lots of control and fidelity.