GameDevHQ 2.5D Cert Requirements Part 8

Simon Leen
Sep 9, 2021

--

Objective: Create a Ladder System

First we get a ladder from GameDevHQs pluging Filebase. Then we go to Mixamo and get the climb ladder animation.

We have already done a few different animation set ups so we just repeat the process. For this animation, we can make the Player climb automatcally once it enters the OnTriggerEnter and goes back to Idle OnTriggerExit in the Ladder script.

We set public methods for to grab and release the ladder which change the animation state.

By using an automatic climb when entering the OnTriggerEnter we can use transitions between idle to climb ladder, running to climb ladder and running jump to climb ladder and climb ladder tansitions back to idle at the top.

--

--

No responses yet