Set custom vector path

Hello.
I have self List path:
How I can pass in function parametes to AIPath? somthing like that:

var customPath = new List<Vector3>();
_aiPath.SetPath(customPath);

I trying define custom class inharited from Path and initialize vectorPath, but this not worked.

Hi

If you are using version 4.2.5+ you can use ABPath.FakePath.

See https://arongranberg.com/astar/docs/abpath.html#FakePath

Oh, thank u very mush!

1 Like