Wall Jumping! Like a Spider

Objective: Create a wall jump for our Character Controller
Wall jumping is one of the common game techniques in the platformer genre. Game Designers put this element in their games when they want the player to reach high located floors.
Creating Player’s Movement
Before creating our wall jump, we need to implement some movement logic to our player.
Adding Character Controller

Creating the PlayerController Script
Fields

Implementing the movement into the Update Method

At this moment, our character should move smoothly.
Add the playerController component and set this values to get the best movement behaviour.

Adding wall Jump
Let’s use an Unity Internal Method to check when our Character Controller is colliding with some wall while jumping.

Adding wall jump logic to the player movement

This is how our Update method would look after implementing our wall jump behaviour!
Final Result

Our baldy is now character jumping walls!