I’m trying to setup path-finding with doors and actors of different heights using a Grid Graph. I have a couple of questions, but first I’ll explain what I did so far.
All the level design is created in runtime, so I don’t have full control over the graphs nodes using the editor. In order to handle doors, I am putting the doors and their parent wall sections on an ignored layer before scanning the graph. This is working nicelly for me so far.
First question: is this a decent way of handing doors? Is there a better way? Maybe a proper ‘Door API’, or something to that effect?
Second question: now what I want to add doors and actors of different sizes, this approach won’t work anymore - it would if I could have a different graph for each actor, but as I understand, we should have only one graph per scene, right? How could I solve this? Can I have more than one graph in the scene?
Sorry if these questions are too noob, but I don’t think they are.