I have a tilemap collider but I can’t get the tags to work.
I have tried every combination of tilemap settings. Composite (with polygon collider), individual, etc. It seems to end up with just the bounds of the tilemap collider and not the colliders themselves. Along with this, I have tried every combination of GraphUpdateScene settings.
Polygon collider, box collider, circle collider, etc. all work correctly and allow me to assign tags.
Tilemap collider example
A box collider attached to the tilemap works fine.
As a workaround of sorts, I added a square game object with a box collider to each road tile and it worked. However, as the size of the map grows, I’m not sure how well this will work. Last thing I would want is 30,000 extra objects for a path as a workaround.
Any thoughts on how to get the tilemap collider working correctly or what I’m doing wrong?
Hi - did anyone find a resolution for this? Can the asset use Tilemaps for unwalkable parts of the grid?
New to the asset but doodled around with Tilemaps and both Grid Graph and Recast Graph. I have one tilemap with my background and one with some structures on. Set up the layers and the graph and nothing happens.
If I put an additional sprite on the same tile on the structure layer the system works. Similar to the OG poster.
Yes, you can set them to a layer that will be used for the 2D collision testing’s obstacle layer.
OPs question is about tags but you’re trying to set walkability– my understanding is you’re wanting to use a 2D Tilemap Collider for making sections unwalkable. I may be interpreting the issue wrong though. (Regardless, if you have follow-ups, could you make a new thread? You can link this page in your post and it will link the two posts together for future users)