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 @HoraTimer 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)