Best way to calculate racer position in a looped racing game

Hello all, I need some help with a player place calculation, which is the best way to sort and then access to a sorted pawn based on their position on a race?

My current implementation:

  1. check the location of a point on
    spline where pawn currently is
  2. check a number of passed checkpoints
  3. optionally we can check current lap
  • Pawns spawn on begin play nor being placed in level
  • Should I use game mode or create a track manager and then place it on a level?

too much to know…

For anyone else wondering.

2 Likes