A* Pathfinding Project

Set custom vector path


#1

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.


#2

Hi

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

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


#3

Oh, thank u very mush!