Select to view content in your preferred language

Can meshcolliders be enabled by default in Unity Editor?

345
2
09-27-2022 04:27 PM
MitkoAleksandrov
New Contributor

I wonder if it is possible to have tiles' meshcolliders enabled (turned on) automatically in the Editor. I'm not sure why there are disabled. Is there a way to access the tiles at all?

0 Kudos
2 Replies
Matt_Nelson
Esri Alum

To enable mesh colliders it is just one click on the checkbox in the ArcGIS map component.

We disabled them by default because they do add a significant performance overhead so they aren't desired in all cases

0 Kudos
MitkoAleksandrov
New Contributor

Thank you for the quick reply. 

In general, 'Mesh Colliders Enabled' option means that meshcolliders will be enabled only in Play mode.

I see that meshcolliders are attached, and I know that I can enable them with a click, which is not enough for some reason in Editor. The only way is to make this work is to reattach meshcolliders, and in that case raycasts can detect them for hit. However, I think it is better just to have an option to enable/disable meshcolliders automatically in Editor, and you can give a notification to users that it might not be the best to enable them for performance reasons. 

0 Kudos