What are some ways to detect if a race car is in 1st place, during the race?
In the following 2D situations:
- top down view
- side view, cars going up, multiple laps (so only comparing y-value is not sufficient)
Thanks in advance.
So far I have one, which is not perfect: add bullet behaviour, store distance traveled in instance variable and compare which one has the highest value.