Speed of ray depend on delta time