I’m trying to generate a road system with a multi path. I would like to prefer existing paths if possible – for example, in the screenshot, the yellow circle highlights an area which has two nearby paths, but I would like the second path to adhere to the first as long as possible.
I’ve solved this in other A star implementations by just heavily weighting nodes with an existing path on them.
Is there a way to enable that with a recast graph / multi path? Or another combination that might work well?