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

Adding Character Controller

Creating the PlayerController Script

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

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!