Dash over Distance problem

Hey everyone.

I have a problem, I am trying to script a dash, but I don’t want it to be a launch character dash, what I want is a dash over distance. for example, i want the character to dash 500 units in the direction the character is facing every time i push the dash button. whether on the ground or in the air.

I am doing a side scroller, so any help would be much appreciated.

P.S. i am not a coder, i am a 3d artist, so please dont be too technical. a blueprint screenshot would be helpful.

Thank you

Hey Crybone!

I assume you mean like teleporting, english is not my native language.

You want to use SetWorldLocation.
The location math would be:

(GetForwardVector×500)+GetWorldLocation.

Hope this works, cheers! :slight_smile:

Thanks that helped a lot, cheers mate!