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

mesh tile original data #38

Merged
merged 1 commit into from
Sep 21, 2023
Merged

mesh tile original data #38

merged 1 commit into from
Sep 21, 2023

Conversation

chenshungen
Copy link
Contributor

I noticed that in the 'recastnavigation' project, the original 'data' is retained in 'dtMeshTile', but it is not retained in 'go-detour'. In my project, I may need to keep this original 'data' so that I can conveniently remove or rebuild 'MeshTile' at any time. Currently, I am using this to do some dynamic culling of mesh tiles. Regarding 'm.saltBits', when my navmesh construction granularity is very fine and the mesh tile is relatively small, the value of 'm.saltBits' is 8. At this time, the check of 'if m.saltBits < 10' will fail, causing the navmesh to fail to load.

Copy link
Owner

@arl arl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@arl arl merged commit 459dc22 into arl:main Sep 21, 2023
1 check passed
@arl
Copy link
Owner

arl commented Sep 21, 2023

Thank you and sorry for the delay!

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

Successfully merging this pull request may close these issues.

None yet

2 participants