Wall Jumping in Unity

This is a method that is automatically called by unity whenever the character controller component hits anything
The hit.normal is the directions which is going to be perpendicular to what we are touching
update the variable throughout the script to the global variable.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What is iOS Stack Views

Follow these key steps to start a successful software development project

Android Studio : Lesson 2

NYC Subway Times Display

Changing “OR” to “AND” Logic for Power BI Slicers

Design Patterns: Strategy with TDD on C#

A Rubyist’s Introduction to Character Encoding, Unicode and UTF-8

Managing Linux Users using Ansible.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
addam davis

addam davis

More from Medium

OnClick Event in Unity

Pushing Objects in Unity to Complete Puzzles

Camera Look System in Unity!

Voiceover Event Calls in Unity