Find way сonsidering slope factor

Hello,

I have a few different agents which has they own different slope limit ( some can have only 15 degrees, and some 60). How i can considering this in pathfinding? I’m use grid graph and A* Pro.

Thanks.

Hi

Currently the slope information is not baked in to the graph information, but if you only have a few types of units you can create multiple graphs, one for each unit type, with different settings and then make sure that a specific unit type only uses a specific graph.

See the graphMask parameter to the Seeker.StartPath method http://arongranberg.com/astar/docs/class_seeker.php#ab50a876ab529ceb3eb9b97deb5a48d1e