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

Fix pathfinding #151

Open
PowerfulBacon opened this issue Feb 17, 2022 · 0 comments
Open

Fix pathfinding #151

PowerfulBacon opened this issue Feb 17, 2022 · 0 comments
Labels
bug Something isn't working Engine Some internal engine changes

Comments

@PowerfulBacon
Copy link
Owner

PowerfulBacon commented Feb 17, 2022

Pathfinding is trying to find the line that is closest to the straight line towards the exit rather than the shortest path.
Also im pretty sure the pathfinding is doing way more operations than it should be doing, since its slow.
Also checking if the world has a solid object based on a 2D binary data structure is quite slow and we could use a grid of nodes instead.

@PowerfulBacon PowerfulBacon added bug Something isn't working Engine Some internal engine changes labels Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Engine Some internal engine changes
Projects
None yet
Development

No branches or pull requests

1 participant