How to move upward with wall jump and not be pulled down too quickly?
Howdy there!
I've been working on my little platformer for a few months now, but one of the things that I've been held up with is the wall jumping feature that I'd like to have in the game. I'm trying to program it similar to the Mario games, where essentially you're able to make a full jump arc out of sliding down a wall.
This would allow experienced players to triangle jump up two walls, gaining height with each respective jump to the next wall. My current feature does technically allow me to do this, however, the downward pull of gravity is much too strong and I'm not really sure where I've gone wrong. It seems like no matter if I'm sliding down a wall or not, the pull of gravity is just the same. I am able to make my character jump from walls, but it's more of a horizontal jump with a downward arc than one that would let you keep attaining height.
I've been watching lots of tutorials, but none seem to help me. It is a 2D platformer using sprites, and my player does have a rigid body connected to him (I've heard that rigid bodies can have some influence on this).
Any help is appreciated. I'll include my character controller script for reference. I'd also love it if you guys could point me toward any tutorials or anything that's helped you solve a similar issue