Ok I'm totally confusing myself here and drawing a blank...
If I have change in x and change in y (dx and dy) over a specified amount of time in milliseconds, and I calculate time intervals by (time / dx) and (time / dy), how do
I calculate the distance intervals for each time period?
This is a stupid math question... but I'm seriously just blanking out here...
I think what you're looking for is:
distanceintervalx = dx * time period / time
distanceintervaly = dy * time period / time
Example:dx = 5m, dy = 10m, dt = 2s
If you want a time period of 1s, then:distanceintervalx = 5 * 1 / 2 = 2.5 m/s
distanceintervaly = 10 * 1 / 2 = 5 m/s
That's what we usually call speed