Racing car positions

How would you suggest I find the position of the cars relative to each other?
(Would need to run on number of laps, as well as position)

If you want to know the position of the player and you got three indicator

You need to sort the players
  • First after the laps
  • Than after the checkpoints
  • At last after the distance to their next checkpoint
After each sort you get groups, at the end you need to fit all groups together
It should work like merge sort, could be pretty hard to script

Forum Jump:

Users browsing this thread: 1 Guest(s)