Hi MrGuest, yep you are right. Im trying to create a racing game.
Currently it is calculating the number of checkpoints the ai/player had passed and after that it will trigger it as a full lap.

Upon contacting with the checkpoint it will trigger the distance to the next checkpoint and updating of position (had a while loop in it). Im not sure whether is it the right way of doing it though.

Thanks for the help, i'll try it out and let you know the results =D