Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

Is astar the most appropriate for pathfinding

This topic is 2480 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I can just use flow fields, and the object can also reach its destination plus having the capability to avoid other objects.
What do you think?
Thanks
Jack

Share this post


Link to post
Share on other sites
Advertisement
A* is just one of many algorithms and methods than can achieve pathfinding. It depends on what you're really trying to achieve. Do you care about processing speed? How well it works? etc.

Share this post


Link to post
Share on other sites
It depends on how busy your levels are. If you are making a flight simulator, avoiding other aircraft can easily be done with steering behaviors. If your level looks more like a maze, you'll probably need a graph search algorithm like A*.

Share this post


Link to post
Share on other sites
I can draw you all sorts of situations where flow fields break down. The most common one being a "C-shaped" obstacle of some sort. How do you devise a flow field that allows for reaching goals both in the "C" and on the back side of the "C"? You are either going to have a flow that allows movement to the interior of the "C" or you are going to force things to flow around it as if it was an "O" instead.

Share this post


Link to post
Share on other sites
It really depends on what you're really trying to achieve.
Avoiding other aircraft can easily be done with steering behaviors.rolleyes.gif

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!