HOME GAMES PROJECTS ABOUT
binarynonsense

BLOG

City Project - Work in progress video 15: Avoid collisions

Now, the vehicles controlled by the AI stop if they're too close to something in front of them. The algorithm is very simple and could be improved a lot, the vehicles just check right in front of them (casting a ray), so they have troubles avoiding collisions in curves and many other situations, but it's good enough for now.

categories: gamedev, city-project