Hi!
Is there some way I can avoid them doing these weird de-tours when using tags?
Hi!
Is there some way I can avoid them doing these weird de-tours when using tags?
it looks like you are using a modifier like simple smooth, and the original path would be like this
you likely have the penalty for the blue tag set higher than the green tag and normal ground, causing it to go out of its way to avoid pathing across even one tile of blue
this might also happen if both penalties are equal and too high
remember that a penalty of 100 makes a tile type 2x as costly to traverse since the basic cost to cross a tile is 100
Hmm, no penalty seems correct. And you are sure default is 100? I havent notice any significant change in pathing until I reached at least 5000+ in penalty.
I guess I misremembered
Hi
I think you have your erosion tags in the wrong order. They go from innermost to outermost.
So you should have tags in this order
erosionIterations
from wall.So instead of
My tags should be
No, more like:
Ah okay, so in my scenario above with 2 erosion iterations (see screenshot), it will skip the Easy tag, set Medium as distance 1 erosion, and Hard as distance 2 erosion?
Yes, if you set ‘Hard’ as the first erosion tag in the grid graph settings.
Hmm, surely you mean if I set “Medium” as the first erosion tag? The first erosion tag is distance 1 surely? Making “Hard” distance 2, which is causing my issue.
Its really confusing to me, super hard to wrap my head around tbh.
My tags are setup like this:
I need to reverse them so its like this:
Then set first erosion tag to “Hard” with an erosion iteration set to 2. This will lead to “Hard” being distance 1, and “Medium” being distance 2, right?
Sorry for the confusion cant get my hear around it for some reason.
Hi
Might be easier if I reformulate it with different tag names:
Assume you tag names are as follows:
In this case you should set the “first erosion tag” to “Erosion 1”. This will be the nodes closest to the wall (i.e. they should have the highest cost). The Default Ground tag will be used for all nodes that are too far away for the erosion to touch them.
thanks, that made sense!