Support Forum

Wanna know how to use Erosion Iterations in Grid Graph correctly

Hi! Actually I’m try to make different size agent keep distance away from wall or something like that.
And of course I read this first : Documentation (arongranberg.com)

But I can’t exactly know what does these different color grid means.
image

This is my setting in Grid Graph:
image
image

And my seeker:
image
When I toggled both Basic Ground and Erosion1 ,agent can only go around in the circle I draw.
image

But once if I only toggled the tag Erosion1,agent just walk inside the blue grids.(which I drawed the red line inside)
image

Is there any way to expand the range of the girds ?

Thanks for helping me!

Hi

Each color represents a different tag. The tag closest to the walls will be Erosion1 in this case. That one, and the following 15 tags (depending on the erosion iterations setting) will be all the different tags used for erosion. E.g. Tag 2 (Erosion 2 in your case) will be the nodes 1 cell distance away from the walls.