Check on YouTube
Car IA Update
Verifique no YouTube
Car IA Update
why not make the yellow box go directly to the target blue box ?
doesn’t work very well
edit : move the farm between the waypoint6 and waypoint0
EDIT CORRECTION :
doesn’t work help haha
you mean :
edit : i saw your email. let me check. Ok, i answered. To debug your python scripts better open the terminal to detect errors …
The reason it works the way it does is the original example had a curved track:
Your solution works fine when placed in a situation where all the tracks only have 90 degree bends but completely breaks in the original curved example unless adding far too many waypoints, when 3 waypoints is enough for a track with no branching. If @socoto wants to go back to curved tracks again, this solution is effectively broken.
Also I don’t understand why the number of waypoints is now hardcoded. He has to manually change the count with any new waypoint.
The solution is to make better use of the navmesh, not rely purely on the waypoints. Actually following a curve would be the best solution, but I couldn’t find a way to use curves other than to rely on a navmesh for that.
How did all the materials become white also…
Heres a nice little video demonstrating making better use of navmeshes and relying less on waypoints.
yes, it’s indeed even better. I just relied of the checkpoints disregarding the functionality of the navmesh ( coz personnal bad experience with navmesh)