I currectly work to create Dash function which allow me to move player to specific distance which is FPS independent, but I got problem with Sweep option. I have uneven landscape and if I don’t set sweep in SetActorLocation I got my character under landscape who is falling into void, on the other hand if I set Sweep to true, then my character don’t make full distance, for example ~1000 units, but only ~100 or even less, depending how steep is my landscape.
There’s my BP:
How can I solve problem and create Dash which is fps independent and can I set distance which should be done in 1 sec?
I had idea to create vertical traceline at end destination, check height of land, and then use SetActorLocation without Sweep to destination location with right Z value.
