Change ball dependent of time instead of frame rate