Linking Isolated Areas on a LayeredGridGraph ? *SOLVED*

Hey Aron,

Is there a way to link different isolated areas on a LayeredGridGraph? Hopefully I have just missed it but something similar to your Pathfinding::AnimationLink example that works on the LayeredGridGraph.

If this isnt currently doable, or do you have a work around or is this something we can expect some time soon? If it isn’t, do you have any current ideas as to how you might approach it? I’ll have a bash at it (but not if you are about to release a solution!)

I think this is probably a similar request to:
http://arongranberg.com/vanillaforums/discussion/1075/layer-grid-graph-with-ladder

Thanks!

Alia
(if it is important info - I’m using the pro version)

Hello again,

I have checked weather I can do what i need with other graphs but they all seem to have something missing. The grid graph of course cannot do the extra dimension, the Recast and Navmesh graphs don’t seem to have a way to update an area (eg effectively I want to add geometry when the user drops down a house so i can pathfind floors) and offmesh linking doesn’t seem to be supported for LayeredGridGraph.

I have noticed that if I put two different graphs overlapping that I can (sometimes) get the agent to move betweent graphs but the pathfinder fails and it seems that the agents inertia just puts it in the right place when the next pathfind is called.

Currently Im looking at making a network to sit above the LayeredGridGraph to be searched first to check for entry and exit points for the current area, ie do that path find hierarchically.

Any feedback for this idea would be great.

Cheers,

Alia

SOLVED.

So cracked it, with a bunch of hacking I got RichPath and LayeredGridGraph to play together nicely so now I have ladders and lifts working with animation in my LayeredGridGraph!