I saw a lot of these topics on the forum, but did not understand. Is it possible to use a graph to enable small NPCs pass under a bridge, and get large other way? In the screenshot example. Or need to use a different graphics? Thanks!
Hi
For recast graphs you would have to use multiple graphs (well, there are ways to do it with a single graph, but that requires more manual work by the level designer so I recommend using multiple graphs if that is not too much of an issue).
You can set which graph to use by passing in the optional graphMask parameter to the Seeker.StartPath call.
See http://arongranberg.com/astar/docs/class_seeker.php#ab50a876ab529ceb3eb9b97deb5a48d1e
Thanks for the answer, but nothing new, I did not know) A method of using multiple graphs I read on a forum, but hoped to have an alternative method
I think that you need to solve this problem, since the question asks a lot of users A * Pathfinding project. I understand that the test object size are too costly in the search path.
Hi
I do not see the issue with creating multiple graphs.
An alternative solution would do essentially the same thing or it would have to split up a single graph in lots of places (since a single triangle may be partially traversable with character of some height) which would decrease pathfinding performance since more nodes would have to be searched.