i want to use A Path on a big terrain(1500*1500)
how can i achieve this? do i need to create several graphs? and if so, hoe to use them as one(connect them)?
All path requests are done in a relatively small area around the player/camera.
Look at the “Procedural” example scene which uses a small graph which is moved with the player.
Path requests may span the whole terrain.
You should use a single graph.
Depending on the resolution required you might be able to get away with using a grid graph, but the best solution is to use a tiled recast graph which can handle terrains of that size and larger (I have heard of people using it on 9km * 9km terrains).