Hello, I am making a 2.5D game and I need to check if the player is on top of the ladder. Here is how my code works:
- ladders are trigger colliders
- if the player touches the ladder,
- then allow vertical movement (climbing the ladder)
I want the player to be able to stand on top of the ladder and be able to jump off it. So how do I check if the player is at the top or not?