instead of increasing dist_test every frame by 1 (dist_test ++;)
use dist_test += time_step.