Calculate path based on slope limit


Hello again!
How do I search a path where a slope angle is taken account for on a navmesh?
I can’t keep to do this using the Seeker component?

Thank you.



The slope is currently not stored in the graph (you can only set a global slope limit for the whole graph in the grid graph settings), so for this to work you could take one of three approaches:

  1. Modify the graph generator to add slope information to nodes/connections and then create a custom ITraversalProvider.
  2. Create a custom ITraversalProvider to dynamically check the slope of the surface when moving.
  3. Create multiple graphs, each with their own slope limit, and then use the approach detailed here:

For more info on how to use the ITraversalProvider, take a look at this page (at the bottom):