Car speed calculus

Blitz3D Forums/Blitz3D Programming/Car speed calculus

i calculate the longitudinal distance between the (current position) and (last position).... allways using the same period of millisecs... no frames( because the frames depend of each computer)

speed = dist(long_advance)* / time(millisecs)

*the lateral speed should not be computed in the speed variable

saludos
santiago