pathfinding in space

BlitzMax Forums/BlitzMax Programming/pathfinding in space

SSS(Posted 2007) [#1]
hi everyone, I recently started working on a RTS based in space and I was wondering if there was an effective way to do pathfinding. Essentially the maps are sparsely populated with ships, planets, asteroids, etc.. and I was wondering whether there was a good strategy for "object avoidance" that was relatively fast? Thanks!


Otus(Posted 2007) [#2]
Some more information would be helpful, like: 2d or 3d maps; some kind of 'tiles', or floating point positions?


SSS(Posted 2007) [#3]
The way it is organized at the moment is that there are no tiles. All objects are "entities" that have floating point positions and are contained in a list. It's all 2D. The thing is that since maps will most likely be pretty sparse it seems like there should be a pretty efficient way to do obstacle avoidance.

Thanks!


deps(Posted 2007) [#4]
http://www.red3d.com/cwr/steer/
Helpful?


MrCredo(Posted 2007) [#5]
or here previous discussion:

http://www.blitzbasic.com/Community/posts.php?topic=69439


SSS(Posted 2007) [#6]
Thanks you guys, I haven't had time to read through it all but it looks perfect. Especially the discussion!