# Increase a value with inertia

**URL:** <https://forums.unrealengine.com/t/increase-a-value-with-inertia/449295>\
**Category:** Blueprint\
**Tags:** value, unreal-engine, Blueprint, question\
**Created:** [May 20, 2019, 4:05pm UTC](https://forums.unrealengine.com/t/increase-a-value-with-inertia/449295 "2019-05-20T16:05:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon89423513](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon89423513](https://forums.unrealengine.com/u/anon89423513)\
**Post date:** [May 20, 2019, 4:05pm UTC](https://forums.unrealengine.com/t/increase-a-value-with-inertia/449295/1 "2019-05-20T16:05:50Z")

</div>

Hello everyone !

I was wondering how one would do the following:

- Let’s say, I have an input going from 0 to 1 (axis)

- I map it to be something else (let’s say 900 to 9500)

- I want to add a sort of inertia in this mapping, like it is “delayed” to increase & decrease, like it’s not following the Axis Value, but has a slight delay.

Anyone have on idea on this ?

Thanks all for any help that could come !

---

<div class="post-metadata">

**Author:** ![NorlinGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/norlingames/32/495614_2.png) [@NorlinGames](https://forums.unrealengine.com/u/NorlinGames)\
**Post date:** [May 21, 2019, 11:50am UTC](https://forums.unrealengine.com/t/increase-a-value-with-inertia/449295/2 "2019-05-21T11:50:52Z")

</div>

If you want to make a smooth update, you can use [FInterpTo](https://api.unrealengine.com/INT/API/Runtime/Core/Math/FMath/FInterpTo/index.html) node to change the value.

---

<div class="post-metadata">

**Author:** ![anon89423513](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon89423513](https://forums.unrealengine.com/u/anon89423513)\
**Post date:** [May 21, 2019, 3:57pm UTC](https://forums.unrealengine.com/t/increase-a-value-with-inertia/449295/3 "2019-05-21T15:57:02Z")

</div>

Yes, I know the use of Finterp, and it’s not quite exactly what I’m looking for. I’m looking for a way to add a sort of “lag” to the increasing & decreasing of the value. So let’s say that the axis goes from 0 to 1 in 0.1 second. Even with Finterp, the value will follow correctly. What I want is that my value takes time to reach the matching output, and if I release my axis, once again, the value takes time to match the corresponding output.

---

<div class="post-metadata">

**Author:** ![NorlinGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/norlingames/32/495614_2.png) [@NorlinGames](https://forums.unrealengine.com/u/NorlinGames)\
**Post date:** [May 21, 2019, 7:07pm UTC](https://forums.unrealengine.com/t/increase-a-value-with-inertia/449295/4 "2019-05-21T19:07:19Z")

</div>

Well you can do exactly this with FInterpTo… If you want to add a single lag before changing the value, you can use the Delay node. Another option is to use a Timeline – it will allow you to set a custom curve for value update speed. I’m still have feeling that I did not completely understood what’s exactly you’re trying to make. Maybe you can rephrase or clarify more what’s your goal with this task?
