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

Navmesh should be more accurate on walkable terrain #13

Open
Jeff425 opened this issue Jul 12, 2023 · 0 comments
Open

Navmesh should be more accurate on walkable terrain #13

Jeff425 opened this issue Jul 12, 2023 · 0 comments

Comments

@Jeff425
Copy link

Jeff425 commented Jul 12, 2023

Currently, if a heightmap has a large area that is considered traversable, the entire area will be turned into one region. Regardless of height differences that occur in that area. Large hills and valleys may exist in these areas, but if the slopes are not too steep, the hills/valleys will be put into 1 or 2 triangles in the navmesh. This can make the navmesh be very inaccurate if it deviates too much.

Below is an example where I had the max_traversable_slope_radians set to PI so the navmesh ended up creating large triangles through hills and valleys.

Suggestion: Allow a NavMeshSetting for limiting the difference between the highest point in a region and lowest point in a region, in order to force accuracy.

2023-07-12.15-07-48.mp4
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