Getting things to find a path...

6 posts

Flag Post

Ok, this is going to be impossible to explain…

I have a little person and I tell him go move to the right side of the screen, so far what he does is go straight for the destination, which is good, that’s all I’ve told him to do. Now if I put a wall in the way I can’t think of how to program the little guy to go around the wall, I can’t even think of how someone would go about doing that :S

If anyone can both understand what I mean and lend a hand that would be GREAT!!

 
Flag Post

Look up pathfinding algorrithims and/or A* (A Star). Tony.pri.ee also has a couple lessons about pathfinding.

 
Flag Post

cool ^^ thanks, this is starting to make sense :S lol

 
Flag Post

Whatever that means.

 
Flag Post

Np.

 
Flag Post

Pathfinding algorithms are a complex topic. I haven’t fully wrapped my head around it either :) though I suspect I will have a go at it at the end of the year.