Use edge in ITraversalProvider

I have a tactical turn based game where I have an auto generated point graph to handle the movement. The point graph is connected with edges that include meta data that I intended to use to condition movement based on the different characters’ capabilities. I do not see any way in the ITraversalProvider interface to get this information at the moment. Is this approach possible with astar? I imagine the simplest way to do this would be to modify the interface to include the edge information.

Either modify or create your own derived ITraversalProvider should do the trick.

This did end up working. To simplify the implementation, I removed most of the code relating to other graph types that made it require a generalized interface.