So since the beginning of time itself, the climbing system has held up pretty well. But now it's time for change, now I have the final climb animation. Not that big of a change tho really. Before, the climbing system was expecting a loopable animation and then a non loopable exit animation. Now it is all one animation, it actually makes things easier, but also not at the same time because I still had to code it in.
A quick breakdown of the entire climb system is like this:
if jump button pressed, fire two raycasts from above the hands, if they both hit and the highest point is within jumping distance, then trigger a climbing.
During the jump, the hands will move towards and stick to the top edge of the collider. Once the hands are in place, the player then goes into a hang state. During the hang state at any time, if the jump button is pressed again, then the climb animation is played which drives the players motion.
The new climb in action. FULL NAKED ACTION!
0 comments:
Post a Comment