A* Pathfinding Project

Nodelink Cost for different agents?


#1

Sorry if this has been asked and answered before, but Ive created a road network using a point graph and only custom connections through NodeLinks. Id like to change the connection cost for certain links in the graph depending on the agent type. For example, heavy trucks should find it unfeasible to move through roads that are smaller, so the cost for that type of agent would be much higher than a smaller vehicle agent. Ive seen that multiple graphs should be used for multiple agents, but does this even apply to point graphs? Is there any way to simply modify the NodeLinks on an agent by agent basis?

Many thanks


#2

Bumping this. Any possibility to get something like this working? I am not sure given that these are custom connections.