# DASH ability's length is different on lower FPS

**URL:** <https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159>\
**Category:** Blueprint\
**Tags:** dash, fps, unreal-engine, Blueprint, question\
**Created:** [October 6, 2018, 5:10pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159 "2018-10-06T17:10:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xmoono](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xmoono](https://forums.unrealengine.com/u/Xmoono)\
**Post date:** [October 6, 2018, 5:10pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/1 "2018-10-06T17:10:38Z")

</div>

Hello!

I’m currently working on a **2D** game, and the dash ability i put together is dashing shorter on lower **FPS**. I’m not using any kind of tick, but I’m thinking that some of the nodes I’m using uses some kind of tick within the node.

**So I basically need help to make the dash ability travel a specific length, regardless of your FPS.**

 ![255840-skjermbilde1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/6/576abdf696aa461fdc8c7685ea73acbc3371c053.png)

 ![255839-skjermbilde2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/0/f201ee45fa79d3beb2f0d3f9a76a2c4b19409062.png)

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [October 6, 2018, 5:31pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/2 "2018-10-06T17:31:21Z")

</div>

you are in fact using tick based operations. timelines and input axis events are based on tick. timelines are less effected depending on how they are use. in your case the way you have setup your nodes and scripts is horrible visually speaking so im not going to attempt to solve it at this point. you have many things looping back, lines overlapping, and just a overall mess (thats my opinion btw), all of which are bad things to have.

just wanted to point out that you are working on tick though. good luck

---

<div class="post-metadata">

**Author:** ![Xmoono](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xmoono](https://forums.unrealengine.com/u/Xmoono)\
**Post date:** [October 6, 2018, 5:35pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/3 "2018-10-06T17:35:12Z")

</div>

Thank you for your answer. I thought I had a clean node setup here. I guess I’ll have to find another way to do the dash ability.

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [October 6, 2018, 5:47pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/4 "2018-10-06T17:47:42Z")

</div>

i will grant you that lines themselves are thoroughly organized and meticulously run. theres just spot like right above your timeline that its almost impossible to tell which direction the lines run ( one line running left overlaps a line running right and they both enter a reroute node. rather than looping all kinds of lines back it may be a good idea to use custom events instead. now theres different opinions on this and some would argue its easier to trace the paths of lines, to each their own.

---

<div class="post-metadata">

**Author:** ![Xmoono](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xmoono](https://forums.unrealengine.com/u/Xmoono)\
**Post date:** [October 6, 2018, 5:50pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/5 "2018-10-06T17:50:17Z")

</div>

I agree with you there. We all have our own way of organizing I guess. Thank you for you time.

---

<div class="post-metadata">

**Author:** ![Xmoono](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xmoono](https://forums.unrealengine.com/u/Xmoono)\
**Post date:** [October 6, 2018, 6:45pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/6 "2018-10-06T18:45:18Z")

</div>

I think I may have fixed the problem by detaching the alpha from the timeline on the lerp. I instead wrote 1 on the alpha. I will do some more testing, and come back to update this post if it’s not working.

 ![255862-skjermbilde3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/7/c57393b448d2b8679ede8c7128e36848f072028f.png)

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [October 7, 2018, 10:05pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/7 "2018-10-07T22:05:38Z")

</div>

Typically the way to solve framerate dependent tick-driven things is to multiply those tick-driven values by world delta seconds node.

---

<div class="post-metadata">

**Author:** ![ThompsonN13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThompsonN13](https://forums.unrealengine.com/u/ThompsonN13)\
**Post date:** [October 8, 2018, 12:28am UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/8 "2018-10-08T00:28:01Z")

</div>

by setting the alpha to a constant one value you are telling the lerp to only use the B value. this does not take advantage of the functionality of the lerp, youve basically rendered it useless.

---

<div class="post-metadata">

**Author:** ![Xmoono](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xmoono](https://forums.unrealengine.com/u/Xmoono)\
**Post date:** [October 8, 2018, 1:22pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/9 "2018-10-08T13:22:40Z")

</div>

I’m still getting the result I want, which shows that I don’t really need the timeline. I can tell I still got work to optimize this blueprint.

---

<div class="post-metadata">

**Author:** ![Xmoono](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xmoono](https://forums.unrealengine.com/u/Xmoono)\
**Post date:** [October 8, 2018, 1:23pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/10 "2018-10-08T13:23:19Z")

</div>

Hello! Do you have an example? I have been looking into that, but never really understood how to set it up.

---

<div class="post-metadata">

**Author:** ![Xmoono](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xmoono](https://forums.unrealengine.com/u/Xmoono)\
**Post date:** [October 8, 2018, 3:57pm UTC](https://forums.unrealengine.com/t/dash-abilitys-length-is-different-on-lower-fps/435159/11 "2018-10-08T15:57:21Z")

</div>

Hello, I’ve been trying to set up with delta world seconds. I did some testing with different FPS, and it works fine above 60 FPS. On 30 fps the skill goes furter for some reason. Is there something I’ve forgot in the node setup? The lines goes to a LERP in the Macro.

 ![256001-newcapture-01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/5/665f25b77f0cbeb5921920fa68b349843ff72e0e.png)

 ![256002-newcapture-02.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/4/8a4fda64aa1bdaed3367b39484310438fe318f4d.png)
