I’m using Recast graphs in my game. I’m rasterizing colliders, but not meshes. In general, there is a list of Layers that should be included in the navmesh baking, so I have those layers chosen. However, there are a few exceptions where I want a certain object on a certain layer not to be included in the baking.
I know I could put those objects on another layer, but I already have a very specific layer usage in my game, and I don’t really have the option of adding a bunch of new layers that are effectively the same functionality as one of my existing layers, except that it gets excluded from baking.
I see I can include objects based on tags, but I can’t exclude them based on tags. Let’s say I have an object in the Default layer, and I want Default included in the bake. However, there’s one object on the Default layer I want to exclude from the bake. Is there any way to accomplish this?
I think at this point the only way to get precise baking is not to use any layers, and use a completely tag-based approach for what to include. But explicitly includes lots of tags feels much more sloppy and cumbersome than explicitly excluding a few objects. Do I have any other options?