removed global time, using game clock delta for controls.