Skip to content

Layer index limit #86

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

Open
mpowell90 opened this issue Feb 9, 2025 · 1 comment
Open

Layer index limit #86

mpowell90 opened this issue Feb 9, 2025 · 1 comment

Comments

@mpowell90
Copy link

mpowell90 commented Feb 9, 2025

I'm reviewing the viability of using polyanya for nav mesh generation and pathfinding across a map using procedurally generated terrain chunks. Assuming a singular NavMesh which uses layers to connect adjacent terrain chunks, the u8 layer index limit for stitching becomes an issue.

The chunking algorithm i've designed spawns / despawns adjacent terrain chunks around the characters as they traverse the map but this can lead to more than 255 layers.

Is there a reason for the u8 limit? Could this be increased?
Is there a better approach I could take to traverse separate nav meshes rather than attempting to stitch layers together?

Happy to submit a PR if they are welcome?

@Utope
Copy link

Utope commented Mar 20, 2025

I will also run into this issue eventually. bump

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

No branches or pull requests

2 participants