Dash goes in a random direction at times. Any fix to this??

So I managed to get my dash ability going in any direction. Most of the time it works as intended. However there are random times where it can go in a random direction. I’m using the GASP for movement. I’m assuming the issue is in my Last Launch Direction node. I’ve come to realize that the GASP only has IA_Move twice, instead of having IA_Move and IA_MoveRight. Is there any way to fix this to where it’s 100% in any direction? I’ve attached videos and BP screenshots and can upload more if need be. Any help would be greatly appreciated!



NOTE: In the video I am trying to dash in the direction I am walking. Sometimes it works and sometimes it doesn’t

you could probably just Normalize the GetVelocity and dash in that direction?

otherwise split the IA_Move return value so you’re only using X or Y not both.

How would I go about splitting the IA_Move? I think that would be the best bet. I don’t have a GetVelocity set up so I’m not sure how would work either. Sorry I’m still fairly new to this and trying to get the hang of it

Get Velocity is already there waiting for you to use.

Slightly different result though, dashing in direction of current velocity Vs current input… I would recommend the latter for a dash, would feel more responsive for the player.

1 Like

Thanks so much! I used the bottom bp and it works just fine. Solved!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.