Need advice about TD,MOBA path type

Hello. I need advice about how to make better pathfinding for my units.
For example - i got 2 bases and road that connects them. Road can be curved and should be defined in editor. Units move along road toward another hostile base, but tricky part for me is that i dont want units follow exact path, they should move with offset from path or maybe trace path with some offset limits.
I was looking towards FloodPath and FloodPathTracer, but its seems still follows direct path.
Thanks!

You may want to look into the Radius or AlternatePath modifiers. Dynamically altering the radius at runtime could make them spread out more along the roads width.

1 Like