How to make the character climb the wall?

Hello everybody, I was trying to do this but I improved


In short, if you jump to the wall and press Space again, the character should stick to the wall and start moving up, down and sideways. Being there if you press Space again, the character should jump off the wall.

Could you give me a general idea of how I could do this? or is there a resource that could help me in this?

2 Likes