I am using a recast graph on a moving (land) vehicle. Agents spawned (or placed) on successfully navigate the vehicle with ease, including using node links to different levels on the vehicle.
However, I’d like to allow units to “board” the vehicle (while moving) using node links that connect the recast graph and the grid graph for the ground surface. Of course the recast graph isn’t actually moving – as it’s using a local space graph.
What would be the best way to update the nav link that connects the ground and the recast graph?
I was thinking of reconnecting the “end” node of the navLink on some cadence with the ground graph.
Alternatively, I could split up the pathing so they navigate to the moving end node first, (which - once reached will move them into the recast graph space) and then giving them the second part of the path on the new graph. Blech…
Any thoughts would be appreciated.