View Single Post
what's your pathwalking algorithm
Old
  (#1)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default what's your pathwalking algorithm - 01-01-2004

Hi guys

I was wondering... what's your pathwalking algorithm like ? I mean, right after the pathfinder returned a path, be it a linked list or an array of waypoints, how do you put your bots into movement ? How do you detect if a path fails (the bot falled down a pit or whatever), or if it's time to head up to the next waypoint ? Do you allow your bot to "skip" waypoints in the path ? Where do you make it look at ?

I'm currently asking all these things because I wonder if it wouldn't be more natural to make the bot walk directly towards the furthest visible "waypoint" each time instead of making it follow the whole series. Or if not walk, at least look at. Lots of things like that.

What do you think ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote