Closed JJJohan closed 5 years ago
Quick update - pathfinding now uses the road system. New video showing cars being able to handle corners and recovering somewhat after colliding with each other.
I'm trying really hard to contain my excitement here.. Wow! This is awesome!! I'm sure it's fine but just gonna test it out anyway before merging it.
I'll try to at least keep future pull requests from changing half the project's files so it's a bit easier to see what I've done 😛 .
That's awesome! Very exciting stuff. :)
After spending more time than I'd like to admit figuring out the entity and object linkage was a little broken (Basically had to use the same label 'decoding' process as described on That Tony's blog), I managed to get a basic version of the AI pathfinding working.
Video of the exciting stuff in action:
<img src="https://i.ytimg.com/vi_webp/OOqRA-NlQbo/hqdefault.webp" alt="Pathfinding Video" width="240" height="180" border="10" />
There's a few little nitpicks I'll just mention up front:
There's a few miscellaneous tidy-upssadly the file count got a bit out of hand after enabling text serialisation for Unity project settings, the commits themselves are still small enough to review individually.