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

Monsters do not properly path home #1206

Open
kamronbatman opened this issue Oct 24, 2022 · 1 comment
Open

Monsters do not properly path home #1206

kamronbatman opened this issue Oct 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kamronbatman
Copy link
Contributor

Currently monsters are using DoMove(m_Mobile.DirectionTo(m_Mobile.Home)); where the direction does not path them properly home.

We should rearchitect movement entirely since it is constantly creating new PathFollower(). Since the core is now available we can come up with a better way to do this.

@kamronbatman kamronbatman changed the title Fix monsters do not properly path home Monsters do not properly path home Oct 25, 2022
@ST33LDI9ITAL
Copy link

If you end up remaking pathfinding I'd recommend looking into these:
Jump Point Search (JPS)
EBS-A*
Time Optimized A* (TOA*)

@kamronbatman kamronbatman added the bug Something isn't working label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants