Hi,
don't hardcode each player, you can get away with something a lot more object oriented and nice.
you will need a trigger as the finish line, tagged "Finish Line", and a trigger/collider on each player.
then each player will have an fsm that will watch for this finish line trigger and filter by tag, so that that fsm only responds to this finish line trigger.
then, yes, you are right, use time ( a different between the time recorded when started/crossing line and the time when crossed the line).
To keep track of each laps, you'll need a way to store this in lists, and for this, you'll need
ArrayMakerSo, yes, this is not the most basic behavior to implement, but if you are patient and study the various samples on dealing with time, triggers and arrayMaker, you'll get it done.
Keep us updated on your progress
Bye,
Jean