I have this character inside a house and want it to go upstairs. I have already implemented a system that makes the player go up/down a ladder as soon as it gets close to it.
In the picture you can see in green the path that is calculated, which seems correct. At runtime I have a penalty of 999 for all nodes but the ones at the bottom and the top of the ladder which have a 0 penalty.
But the character never reachs the base of the ladder and follows the red arrow path (I assume is trying to get close to the final desitionation which is upstairs).
Shouldn’t it get close to the ladder nodes since they have no penalties? Any other way I can fix this?
Btw, I run a debug.log to make sure the penalties for the nodes were correct and it seems so, although I have set up in the setting of Astar to show grading graph for penalties and still shows it up all green.