I am making a game where you can move around buildings in which people are walking (inside buildings with random movement)
I want to use point graph to set each building inner bounds in which people can walk. And later user will be able to move buildings around so I need those local graphs to be moved with buildings. People will never leave graphs in their buildings so I don’t need like graph linking etc. Each building with small simple graph for its dwellers.
So I have few questions:
- How to save and load single graph? I need separated serialized graphs for each building as there will be like 20 buildings and only few at the same time so saving and loading all of them doesn’t seem reasonable.
- Can I find created/loaded graph by name?
- How can I do movable graph for buildings? As I understood the best currently possible way is to use approach you used in Movable example. But I really hope there is something simpler and more direct.
- How to rescan single graph? I saw something about graph mask. But keeping graph index and then creating a mask for each graph seems like a lot of trouble just to update one of the graphs. Is there like something like Scan(graph)?
Sorry for a lot of questions but I spend hours on forum and docs trying to find answers and didn’t really find them.