The manual states that AC creates these layers:
• NavMesh
• BackgroundImage
• DistantHotspot
So far I kept all my navmeshes, background images and hotspots on the "Ignore Raycast" layer. Should I move these to the respective layers and what's the benefit? Maybe these apply more to 3D and 2.5D (I'm doing a 2D game)?
Thanks!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Only BackgroundImage is specific to 2.5D games - the others apply to all types.
"Ignore Raycast" equates to Hotspots and NavMeshes being disabled, since the cursor is no longer able to detect them. The layer your backgrounds are on has no effect, provided they have no colliders.
Yes, hotspots stops working if placed on the "Ignore Raycast" layer. NavMeshes seem to work on "Ignore Raycast" though, and are placed on that layer in both the 2d and 3d demos.
I'm trying to hunt down some performance issues with navigation and navmeshes which is why I'm asking.