A* Pathfinding Project

Editing Point Graph


#1

I would like to fine tune the point graph that is produced by the “scan” operation. It’s a great starting point, but there are certain nodes I would like to be connected that aren’t, and there are also nodes that are close together that are connected that shouldn’t be (near thin walls, for example)

Is there an easy way to add/delete node connections in the editor? I’ve scanned the docs and it seems there’s probably enough there for me to build my own editor window to make this easy, but I figure it’s worth an ask before I take the plunge.


#2

Hi

Sorry for the late reply.

You can take a look at the point graph example scene, in that scene there are some examples of how connections have been added and deleted by using the NodeLink component. It’s also possible to do using code, but it seems like the NodeLink component was what you were after.