- What do you want to achieve? Keep it simple and clear!
I have a model of the Daytona track. I want to be able to calculate the player’s progress in the race. I’ve searched but I can’t quite understand how it works. For example, if we look in Gran Turismo 7, there are some yellow markers across the track:
These markers are used to calculate the difference of time between you and the other drivers. But, if I’m in the same section of the track as another player, how can it tell if I’m closer to the end than the other driver? and this is extremely precise, by the way. I’ve won races by hundredths of a second, and when I looked at the replay, it was perfectly accurate.
- What is the issue? Include screenshots / videos if possible!
No screenshots as it’s not an issue per se
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried using Path2Ds but couldn’t find a good enough solution. I genuinely cannot grasp this. Did they use paths and expand them to fit the entire track? But then how does it know when someone’s passed me if I’m outside of track limits? Did they use multiple vectors across the entire track? What about if I suddenly decide to start going backwards? How does it know if I skipped a section? I don’t understand this. Thank you to any help I might get because this is a complex subject. I’ve looked for other topics but haven’t found anyone with this issue.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Here are some resources I found which I can’t make sense of:
Here’s the link to the Daytona track model:
Beware it is a little bit laggy.
Thanks in advance.