I’m working on building a path finding script. I’m using a map of nodes that I generate from the vertices in an egg full of lines.
I started writing my path finding script and I realized that the easiest way for me to determine if movement points should be considered adjacent to another would be to use the lines in the egg file. I looked up the eggLine class in the reference and checked all the methods of it and those it inherits from eggPrimitive and eggNode, but I couldn’t find one that would return the indexes of the vertices the line uses. Is there a way to do this?
What would be best is if I could get all the lines attached to a given vertex, and then all the vertexes at the other end of those lines.