Tilevania - Can't climb from center of ladder

Hi guys, I’m going through the Tilevania section of the course on Udemy (Just finished lecture #88) and something I’ve noticed is that if I try to climb when the player is in the very middle of the ladder sprite, I can’t climb it! The character does little hops up and down while the “isClimbing” param flickers on and off. If I try to climb a ladder from a bit to the side, everything works as intended.

Unity_r5JGBonLI1

At first I thought it had to do with some of the code changes I’ve made (I managed to add jumping from ladders) but even when I replace my PlayerMovement.cs with Rick’s version from the previous lecture’s GitLab I still have the same problem. Maybe it’s something to do with the colliders? Has anyone else come across this?

1 Like

Hi! Welcome to the community!

This is a very common issue, as to how to solve it there’s no easy answer, there are multiple threads here in the forum that have tried to solve this and make the whole climb ladders system more flexible, you can get inspiration from those threads. Here’s are some of those threads:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms