I started to sit down and brainstorm a good way of keeping track of the player and ai opponent positions in real time as they raced around a track in the top down racer I have been working on. I was trying to also come up with the best way to do it most accurately. My end idea was to set overlap checkpoints around the track and after the overlap occurs then you would compare the distance to the next checkpoint. The problem with this is when you go around sharp corners and the checkpoints are near each other the system then become faulty.
I'm just curious if anyone has other suggestions or ideas on how to achieve the tracking of positions in real time with as much accuracy as possilbe? Any ideas would be helpful! <img src="smileys/smiley2.gif" border="0" align="middle" />