Distance between 2 points and time taken - Speed keeps increasing as the distance get further why?

46 Views Asked by At

I am trying to calculate the time taken between 2 points for a game with X and Y coordinates.

When I plot in the actual time taken based on the game data, and the X Y coordinates, I can't find a constant speed between them.

I noticed as the distance get further, the speed seems to increase.

Does anyone know where I got the formula wrong?

I am using a simple pythagoras formula to calculate distance between 2 points

enter image description here