Creating A Ledge Grab in Unity — Part 1: Creating Ledge Checkers
Creating an aux GameObject to help with the logic.
Objective: Add player hang animation and create ledge checkers.
The first step for this ledge grab system is to add the hanging animation for the player. I just downloaded this animation from mixamo.com and added it to the player animator controller.
Then I created a cube GameObject as a child of the player that is going to be used as a ledge checker.
Next I just created another cube as a child of the platform. This is going to be the actual ledge colliding with the ledge checker. After completing the setup we are gonna make those objects invisible for the final user but functional for the game.