Jumping into the wall.

The first thing we need to do is activate a Debug to see where my player is making contact with. This is easily done with a “Debug.DrawRay”.

With this we can see the contact points on the collider from the first image.

From there I could take the “hit.normal”, put it into a variable and call it to equal my velocity during a jump! With this whenever my wall jump is enabled, I essentially bounce off via the “hit.normal” direction * my speed. Add some extra jump height…

… and we get a a proper looking double wall jump system!

With all of the prototyping done, it is time to bring in some assets!

See you next post!