How to have steadily move the player forward towards a point rather than teleport/How to make a dodge or dash

Hi! I am relatively new to this so I apologize

I am trying to create a dash where the player dashes forward, as the dash VFX I have is not instant. I had no issue telaporting the player forward, but moving them at a steady pace is incredibly difficult and I could not find any tutorials for it. I tried to use Vinterp, but it currently does not work. Here is my code:

Currently, my player sorta just gets stuck in the floor, and I cannot tell if any distance actually was travelled for the first dash. If anyone knows how I can fix my code, or has a different approach, I would very much appreciate that!

Thanks!

If you are using the Character class with a CharacterMovementComponent, you will want to turn on a custom movement mode, and in the Tick for the character (or movement component) calculate the velocity to use while dashing. Once the dash is done, set the mode back to normal.

Thanks for the reply! I am a little confused as to what you mean. In the character movement component, the only option for custom movement mode is setting the max speed, no option to turn it off or on, and I couldn’t find any blueprints for custom movement event either(only Event UpdateCustomMovement)

Yes, you need to calculate your own movement while in the custom movement mode.

Found a method that works using timelines! I cannot share it here because it says I cannot put multiple images as a new user unfortunately, but LInterp + timelines did the trick for me