Announcement

Collapse
No announcement yet.

Graph Data Structure

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Graph Data Structure

    I've been wanting to create a grid based game and I think I'll need a graph data structure to set the movement relationship between grid "parts". I was wondering if there is a graph library or something similar in UE4 or if I'll need to build it from the ground up, I tried searching for some info but whenever I type graph and unreal into google it comes up with blueprints pages. Thanks guys!

    #2
    Hello guys! I did some digging and it seems there are no adjacency list or adjacency matrix that I can use to create a graph, I also looked a bit into matrices and there doesn't seem to be any "library" for custom sized ones and the biggest there is is 4X4. If i wanted to implement these, should I use mainly USTRUCT or just abstract classes? I don't really understand what the differences are between struct and class in unreal, I know that in c++ in general it has to do with the default public/private. Is it the same here? Thanks guys.

    Comment

    Working...
    X