I'm using Pathfinding to create a top down game. Some obstacle on my layout are cliffs (sprite is a rectangle) . I need them to be an obstacle when you abord them from on side (base of the cliff) but can be crossed from the opposite side (you can jump from the top of the cliff). Any idea on how to do that ?