Need help creating NPC Racers

Greetings! I am currently making the biggest update inside of my current racing game, however, no matter what I think of, I cannot figure out how to create NPC Racers. I want these NPC Racers to be really smart that they can drive karts. How would I be able to create them? Rally Kart has created them a while back, and I have not figured out how they did it.

If you could help me get started, that would be great!

Thanks in advance!

You could make an invisible live on the track that the npc’s karts have to follow. If they go off the line, they just drive back to it.

If there are different difficulties, you can make different routes for each difficulty so the easy npc would take a longer and slower route while the best npc would be using every shortcut in the game.

1 Like