Step height || slope


#1

With LayeredGridGraph I pick a slope and a step height. However, it is the intersection of these values that determines if a unit can move between nodes. So in order to walk up a 50 degree incline with 1 meter nodes, I have to calculate the minimum value for step height which in my case is .8 meters, higher than what I want.

This doesn’t make the distinction between a 50 degree slope, or a 0 degree slope, an .8 meter high wall, then another 0 degree slope that much higher up. I either have to allow both, or neither.

What would be better is if the step height were an actual step, such as I would use with stairs. I would probably use .2 instead of .8. But the character would still be able to walk up a 50 degree incline.