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 inter-room pathfinding across obstacles #34

Open
Mirroar opened this issue Mar 1, 2021 · 2 comments
Open

Fix inter-room pathfinding across obstacles #34

Mirroar opened this issue Mar 1, 2021 · 2 comments

Comments

@Mirroar
Copy link
Owner

Mirroar commented Mar 1, 2021

Very prevalent on the season server because of the highway walls, but even on the normal server this can happen with rooms where old buildings are left behind: The moveToRoom method assumes all exits in a room are reachable. But when this is not the case, it needs to be detected, memorized, and another path might need to be found, if there is one.

@Mirroar
Copy link
Owner Author

Mirroar commented Mar 1, 2021

We might even span some dismantlers to automatically remove such obstacles for easier navigation.

@Mirroar
Copy link
Owner Author

Mirroar commented Apr 28, 2021

The new NavMesh is able to navigate around obstacles, including source keepers. It is used by scouts and for squad movement. Ideally we will convert all inter-room movement to this, as it's much more robust and prevents creeps from dancing at room borders.

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