As promised, here is an open sourced script of my autopilot script. Wishing you all well on making a better game that I couldn’t accomplish due to time constraints.
Disclaimer - This script is heavily customized to MY programming and models, it is not to be used as a copy and paste, but as a guide on the formula used to calculate the trajectory of the car. This script is and will not be polished by me in the near future as I do not have time to do so.
I will be placing the autopilot script inside the “Model S” model.