Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to store a graph in unity?

$
0
0
Hello,

I just finished understanding the A* algorithm. Now I face a challenge before I can actually start implementing it: how exactly am I supposed to store a graph in Unity?

In real life, I'm a mathematician. I already worked with graphs many times: we store them as adjacency matrices in my field, it's easy to read/edit/understand. But correct me if I'm wrong, in unity you cannot have something else than a 4x4 matrix, thus adjacency matrices is not an option here. What do would you...

How to store a graph in unity?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>