of     1   

doneyes
#140525869Wednesday, July 16, 2014 4:31 PM GMT

I'm trying to find a video to explain it well or a free model to study but I've developed point to point pathfinding which can either go left or right on a trail depending on how close the target is in a given direction. I want to focus in and really make this. The reason my first system isn't good enough is because it doesn't work for complex maps with lots of ins and outs that the AI doesn't need to travel on. A free model of the pathing system would be optimal because I can dissect it and study it in action. Thanks for reading
doneyes
#140527276Wednesday, July 16, 2014 4:47 PM GMT

I'm actually not sure if A* is the best for me because I'm going to place down point on the maps that the AI walk to.
doneyes
#140644726Thursday, July 17, 2014 5:59 PM GMT

.
Notunknown99
#140645117Thursday, July 17, 2014 6:03 PM GMT

If you just have a few zombies, you might want to look into PathfindingService. If you have a grid-based map or have interesting terrain, then I don't know. Google, probably.
LeitrisArcade
#140645485Thursday, July 17, 2014 6:07 PM GMT

If you don't need the AI to move around obstacles intelligently, you can just make nodes on the map(positions that the AI will walk to) and then tell the AI to move to those points accordingly. If you DO need your AI to move through some kind of maze or a large amount of obstacles, then A* would benefit you. I was interested in A* a while ago, and succeeded in creating a simple grid that used the A* algorithim and raycasting to find the best path. One thing to note though is how poorly Roblox's engine can handle that many lines of complex code in an instant. This is why I would steer away from A*, and maybe wait until Roblox releases their in-studio pathfinding that they announced during virtual bloxcon. It is likely that the built-in pathfinder will be editable and will run much quicker than a several-hundred line script with A* tl;dr: I recommend not using A* atm because roblox can't handle that much math at once, and to wait until roblox releases their built-in pathfinder.
Notunknown99
#140645663Thursday, July 17, 2014 6:09 PM GMT

Although it is good to note that if you precalculate paths you can cut down on times, and applying some clever algorithms can make very natural looking and smart AIs.
GiganticGulian
#140648235Thursday, July 17, 2014 6:36 PM GMT

Wait for the pathfinding service to be released. :) http://wiki.roblox.com/index.php?title=Pathfinding
doneyes
#140712408Friday, July 18, 2014 5:33 AM GMT

So they announced it this bloxcon? Any videos?
doneyes
#140738571Friday, July 18, 2014 2:40 PM GMT

bump

    of     1