I’m trying to make a turn-based game using the grid graph or layered grid graph. Since we are unable to create multiple grid graphs and then stitch them together, how do I use the graphs on inclines and stairs? I’ve attached an image to clarify. The scan recognizes that the stairs are there, but places horizontal grid squares there. Is there a way to rotate them?
Also, do I have to update to 2019.3 to use the 8-directional movement with the layered grid graph? I’m using SteamVR for this game, and 2019.3 doesn’t seem to work with it, so I’d rather not have to update.
The nodes did have to be resized to work, AND the stairs came with a MeshCollider, AND I had frozen the creature’s rigidbody constraints on the y-axis due to some bugs earlier on.
Since my game is tile-based, (think XCOM or D&D if you’re familiar with either) do you think it would be easier to just shrink the environments and characters to match the size of the nodes that work, or figure out the math and make my own visual grids on top of the A* grids?
You shouldn’t have to change the size of your environment. However looking at the screenshot above the nodes do look way too large for an environment like that. It will not be able to distinguish between a stair and some other obstacle.
You will likely want to tweak the ‘max step height’ field.