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

Support for custom cost functions in path finding #46

Open
feroldi opened this issue Aug 8, 2024 · 0 comments
Open

Support for custom cost functions in path finding #46

feroldi opened this issue Aug 8, 2024 · 0 comments

Comments

@feroldi
Copy link

feroldi commented Aug 8, 2024

I see that the default cost is the distance to the goal, but sometimes in game development we want a path that isn't exactly the shortest one, e.g., a path that avoids passing in front of an enemy.

Do you plan on adding a way to define a cost function for path finding?

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

1 participant