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

Collect geometry of different types. #209

Open
Ultraspider opened this issue Jul 30, 2024 · 1 comment
Open

Collect geometry of different types. #209

Ultraspider opened this issue Jul 30, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Ultraspider
Copy link

Hello,

First of all, thank you for this package.

Is there a reason why the "Use Geometry" is either "Render Meshes" or "Physics Colliders" but not both?

We have a map where a lot of sprites don't have colliders but we also use colliders to define a pathway for the characters (we're not using tilemaps).

I modified the code to remove the if/else statement on the type and the resulting NavMesh seems to make sense

if (builder.CollectGeometry == NavMeshCollectGeometry.PhysicsColliders)

I searched in other issues and did not find any discussion about that. Is there a reason why this would not work or would not be recommended?

@h8man
Copy link
Owner

h8man commented Jul 30, 2024

The reason if Unity builder can work only with one or another. But, if we talking about 2d only - there is no reason to not have mixed mode.

I will mark this issue as feature request

@h8man h8man added the enhancement New feature or request label Jul 30, 2024
@h8man h8man self-assigned this Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants