For programs with variable framerates, I wonder if there is any way to modify the step value. I want to tween a float from some value X to another value Y over Z seconds. The frame time however is variable. So we can't step every frame by the same amount. Something like where we can step but in percentages. I can set 100% to for Z seconds then pass in frame time every frame. Once the combined frame time is Z seconds, the tween reaches its end.
Thanks.
For programs with variable framerates, I wonder if there is any way to modify the step value. I want to tween a float from some value X to another value Y over Z seconds. The frame time however is variable. So we can't step every frame by the same amount. Something like where we can step but in percentages. I can set 100% to for Z seconds then pass in frame time every frame. Once the combined frame time is Z seconds, the tween reaches its end.
Thanks.