C++ - Dash skill

Hello,
I am trying to make a dash skill by using LaunchCharacter but i am having an issue that when i jump my velocity get a lot higher,
and i get sort of teleported way more then i should.
my code:


      
FVector velocity = GetVelocity();
velocity.Z = 0.f;
LaunchCharacter(velocity * DashForce,true,true);


How can i fix this bug?