It is a very good game. But I want to ask one question, how do you implemented AI of opponent cars?
Viewing post in Bad Karts jam comments
Glad you like it!
Basically, every car is basic car with wheel colliders - https://docs.unity3d.com/Manual/WheelColliderTutorial.html - with very minor tweaks. So, when I had an working car, I added checkpoints. Basic box collider with triggers. The code is simple - first it knows what checkpoint to check for, second it adjusts angle of front wheels on Update() so they always face the correct checkpoint. When checkpoint is hit, AI's "OnTriggerEnter" is called. If it hit correct checkpoint, it tells to check for next one (in case it was the last one - check for first) and adjust wheels towards it. Acceleration is basically just full throttle with simple speed limiter to not make AI too op.
Hardest part was probably making correct wheel adjustment, but, I was just copy-pasting code from my previous projects, so making AI was pretty simple, this time. Buuut, feel free to check out my profile, I used similar technique to make boats float towards their checkpoints in Pirate's Keel, game that I made open-source, so just git-clone and run, or just navigate to "AIController.cs" if you want to see just this specific part.
Cheers!