07.12.2016, 13:18
If you are, let's say in 1st position then count will be 0. You need to add 1 to the result.
The only way it fails is if there is a 180 degrees turn and more than a player is at that specific checkpoint - the player closer to the checkpoint will have a higher position. Unless you do something with nodes, I don't know if somebody has managed to do anything similar.
I don't understand what you want to do with sorting.
The only way it fails is if there is a 180 degrees turn and more than a player is at that specific checkpoint - the player closer to the checkpoint will have a higher position. Unless you do something with nodes, I don't know if somebody has managed to do anything similar.
I don't understand what you want to do with sorting.

