How to change A value to B over C time

Hello.

This is probably a simple math problem but here is the issue:

I want to change current A value to target B value at a constant rate over C amount of time using Event Tick or possibly other methods.

Thank you.

Idk, maybe there are easier ways to do it, but here’s mine:

You create variables with desired values, or you can just enter them manually into functions if you aren’t planning on changing them, and here you are.

The node is called fInterp To Constant

You need to feed it delta time.

If you want to do it over a certain amount of time, use a Timeline + Lerp.

This is exactly what I needed!

Thank you!