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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.