I’m curious how people would approach this problem. I have a 2D platformer — imagine a building with two floors. The only physical connection between the two floors is an elevator.

Out of the box this package does not support platformers, so I’ve opted for a point graph.

There’s no node connection from floor one to floor two, so I figure, hey the agent could board the elevator, the elevator will move, and then we can recalculate the path and send the agent on its way.

But when calculating the graph, the shortest path between a point on floor 1 and floor 2 may tell the agent to simply stay right where they are. Why would you walk farther away to an elevator? You’re walking away from the destination. And yet in the real world, this cost pays off.

Will I need to create a custom Point Graph script that considers elevators, or is there some other idiomatic way?

Thank you!