so im building an AI system, where NPCs will walk along waypoints, to some location.
i want to do this with smart AI, and i have written a simple Dijkstra algorithm to do it.
(dijkstra takes the shortest path from 2 nodes (way points)).
however, i wrote this in python, as im not 100% familiar with Javascript references in Unity.
i have converted much of the code to Javascript as i can:
http://codepad.org/V8LY8Jb1
but im running into issues with Maps.
C++/java/python etc etc. all have maps, where somevar[“my key”] will yeild an output.
can some one point me in the right direction for getting this done? much appreciated.
i would use C#, but rest of my poject mates are using JS, and most of the AI is written in JS. im not sure how well i can integrate JS and C#
– anon15000535