Lerp between 0 and 1?

How would i lerp a float from 0 to 1 over a certain time? Where i would get every number in between
I have tried to use timeline, but that doesn’t seem to give me everything in between but only certain number in between if the Length is too short

1 Like

Between 0 and 1 there are infinite numbers, so you can’t get every Number between them.

You can use a timeline that goes from 0 to 1 in the alpha, the amount of numbers depends on the timeline duration and the framerate

2 Likes

How would i go about finding the numbers even if the duration to find them in is less than 0.1 second?

Maybe i should have provided a bit more information, sorry.
I am not looking for every number that goes for infinity, but rather just the first two decimal if possible, just not sure how i would go about it
So lets say i want a float to go from 0 to 1 in 0.05 seconds in that amount it goes from 0 to 1 i would have every number in between (the first two decimal)

1 Like

( it does go from 0, but it’s a lot… )

1 Like

Whats the length of your timeline?

1 Like

In fact, it’s 1 second. But you can make it any length you like. The longer you make it, the more numbers you get back.

2 Likes

That’s the problem, he wants many numbers in 0.1 seconds, and I told him that the timeline is framerate dependent, he should probably create a custom event in c++ that runs each few milliseconds to obtain more values

2 Likes