Skip to content

Make NavMeshSourceTag component support having different area types #161

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

azb
Copy link

@azb azb commented May 1, 2020

Before NavMeshSourceTag didn't support having different area types, and so all nav mesh created using this component was marked as the "Walkable" area by default.
Now the NavMeshSourceTag has an inspector field for entering a different navigation area type. This allows for having different navigation areas which different types of agents can travel on (for example, boats on water, humans on land). The default area type will still be Walkable as it was before so upgrading to this new component won't change the behavior in existing projects.

@edouardlib
Copy link

edouardlib commented Nov 17, 2020

I'm interrested by this but it seems like the area are then overlapping?

@mateusaka
Copy link

Remember to remove in OnDisable or it will not retrace the path if it is disabled and enabled for some reason.

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.

3 participants