W
whitey
Guest
Hi all,
Ive been successfully messing around with some easing functions using an incremental timer however I would like to use delta time instead but results are not precise.
I have been using this script:
/// @description ease_linear(time, start, change, duration)
/// @param time
/// @param start
/// @param change
/// @param duration
return argument2 * argument0 / argument3 + argument1;
and calculating delta time like:
var dt = delta_time / 1000000;
should I be doing something else?
Ive been successfully messing around with some easing functions using an incremental timer however I would like to use delta time instead but results are not precise.
I have been using this script:
/// @description ease_linear(time, start, change, duration)
/// @param time
/// @param start
/// @param change
/// @param duration
return argument2 * argument0 / argument3 + argument1;
and calculating delta time like:
var dt = delta_time / 1000000;
should I be doing something else?