Topic: Pathfinding 2.0
Ok, we got pahtfinding fixed now, so it doesn't break everytime someone else (NPC or Player) triggers the algorithm around us.
During the time it was broken, i have searched the net for the topic, and found, that the thing we see in perp is usually only the first step to draw a path between two points on a rasterized map.
BUT usually that path is not actually used unprocessed to let something walk exactly ON that path.
best example is when you want to aproach something in "North-North-East" direction. The raster based pathfinding algorithm will draw a path that is partially a stright line north, and short part that is north-east to reach that point, even if there is not a single obstacle between start and end.
Not only does that make the path longer, it also makes it look stupid when several npcs walk in zig-zag patterns.
Now the discussion -
are you happy with it as it is, or would you like to see more work flowing into AI improvements for smoother movement? (NPCs and Autopilot)?
because pictures are better then words:
http://www.gamasutra.com/features/20010 … ter_01.jpg
this picture can be found in this article:
http://www.gamasutra.com/view/feature/3 … inding.php
Whining - It's amazing how fast your trivial concerns will disappear