I want the player to only be able to jump off ledges, similar to Ocarina of Time, but I can't wrap my head around how I would go about doing that.
I've studied a little bit into A.I Pathfinding thinking that it might help, but I still can't figure it out. Any suggestions are appreciated!
Also, I don't necessarily need code. Just some ideas for how to detect a drop.