Path-Finding
by Ricky Taylor · in RTS Starter Kit · 05/01/2006 (6:28 am) · 1 replies
Can anyone give me a good way to work out pathfinding....
I have got my head aroung A-Star but now I dont know what to write in C++....
I wrote a very crunchy (Hacky) version ( A class called PathFinding, with one instance called pathFinding).
But It didnt use nodes properly (they were generated each time, only the required ones), and I dont think I integrated it correctly into rtsUnit.
HELP ME!!! =)
Can anyone explain how to make pathfinding that is auto-generated, avoids NPCs and explain what I have to code? (Clearly, Ill make a mess of it on my own.)
I have got my head aroung A-Star but now I dont know what to write in C++....
I wrote a very crunchy (Hacky) version ( A class called PathFinding, with one instance called pathFinding).
But It didnt use nodes properly (they were generated each time, only the required ones), and I dont think I integrated it correctly into rtsUnit.
HELP ME!!! =)
Can anyone explain how to make pathfinding that is auto-generated, avoids NPCs and explain what I have to code? (Clearly, Ill make a mess of it on my own.)
Torque Owner Ricky Taylor