Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow field pathfinding #131

Open
Seb-stian opened this issue Aug 5, 2021 · 0 comments
Open

Flow field pathfinding #131

Seb-stian opened this issue Aug 5, 2021 · 0 comments
Labels
api Relates to Obsidian.API enhancement New feature or request epic Very cool future This feature will be worked on in the future performance Performance related issue priority: medium Moderately important server Relates to the server implementation

Comments

@Seb-stian
Copy link
Member

Implement flow fields for entity pathfinding. There are some cases, where A* is not the best choice:

  • If the graph that needs to be traversed is dense (A common example would be a grid-based graph) ✔️
  • If you have hundreds of units attempting to path to the same location ✔️
  • If the environment is highly dynamic ✔️
  • If there is a constant need to change the position of units ✔️
    (source)

Flow fields can be of great benefit for us. Some things to consider:

  • Implementation may be difficult to get right (eg. caching fields)
  • We may want to toggle between A* and Flow fields depending on distances and entity count
  • Different entities may need somewhat different vector fields (eg. zombie x spider)

For now, A* should do just fine, but I would like to see this implemented in the future.

@Seb-stian Seb-stian added enhancement New feature or request epic Very cool future This feature will be worked on in the future api Relates to Obsidian.API server Relates to the server implementation performance Performance related issue labels Aug 5, 2021
@Naamloos Naamloos added the priority: medium Moderately important label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to Obsidian.API enhancement New feature or request epic Very cool future This feature will be worked on in the future performance Performance related issue priority: medium Moderately important server Relates to the server implementation
Projects
None yet
Development

No branches or pull requests

2 participants