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
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
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)
Whats the length of your timeline?
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.
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