Support Forum

Connect two point graphs or make an entity be able to traverse two siumutaneously

(Using free version) Im working on a tilemap platformer and currently I have it set up so that it generates nodes and edge nodes for a point graph based off of tilemap data, then calculates jump points by connecting the edge points. I am looking to make the edge points on a different point graph with a different max distance so that jumps can reach further than 1 tile.

Thanks!

P.S I don’t know if this is the best approach for making platform path finding and if you have any other better options I would love to hear him.

Hi

If you already generate the nodes and edges using a script you may just want to connect the nodes manually.
This can be done using the node.AddConnection(otherNode) method.

You can take a look at this page for more information about this: https://arongranberg.com/astar/docs/editinggraphs.html