Forum Discussion
Hello Groguet! Thanks a lot for having created this thread and for the attention EA/Codemasters always dedicates to this feature of the game.
One nice-to-have feature to add would be the "left/right distance of the vehicle from track limits".
While we know the car "relative position" along the track thanks to the "LapData::m_lapDistance" field, we have no insights on its lateral position. Knowing the left/right distance from the track limits, we could improve both the visual reconstruction of the circuit and the effective racing lines of the vehicles.
Ideally they should report the distance, in meters (or centimeters in this case), of the vehicle's center from the corresponding track limit, with a negative value when the track limit is crossed. The values should be computed at the vehicle position determined by "LapData::m_lapDistance", along the right vector of the corresponding spline. But any helpful and practical variations are welcome! :)