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

Question about usage with moving entities #15

Open
Grant1219 opened this issue Sep 19, 2016 · 1 comment
Open

Question about usage with moving entities #15

Grant1219 opened this issue Sep 19, 2016 · 1 comment

Comments

@Grant1219
Copy link

My question involves using this pathfinder with other entities moving around on a map.

My initial thought was to find the best path while ignoring the other moving entities, and then avoid or pathfind (with another MicroPather that is reset every call) around the entities if they block the path. This way I don't need to constantly reset the MicroPather state.

Is this the right way to go about solving this problem, or am I missing a better solution?

@randomMesh
Copy link

A bit late to the party, but i found this article helpful: http://theory.stanford.edu/~amitp/GameProgramming/MovingObstacles.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants