Automatic climbing on the ledge.
Here is a topic that was previously opened on this issue. And this is a really important and interesting question.
This is what it should look like.
I’ve tried to do it through changing the character’s position but there are a few problems I’ve run into and can’t figure out how to solve them.
- I can’t figure out how to make the player rise automatically when the “up” button is pressed. To make it climb you have to press the “up” button and if you release it the player stops halfway up. This does not look very good.
- Falling happens very quickly and it is incredibly difficult to make such an animation. So I was looking for a way to slow down the vertical speed. If I could slow down the vertical speed, I could make a beautiful animation of the ascent.
This is what it looks like to me now.