I'm new to Unity, and already dealing with a problem.. using the default third person controller script. I am trying to move and animate the player. But, but I have a problem that, as when I try to move the character it moves beautifully but not only vertically and horizontally - it also moves up on the y axis! ITIt just keeps going higher and higher, and though it's quite funny, it really messes the gameplay :D
THIS IS THE CODE LINK: https://scm.ulster.ac.uk/~b00666804/COM602/COM602_Assignment/Assets/Standard%20Assets/Characters/ThirdPersonCharacter/Scripts/ThirdPersonCharacter.cs --> it's whole code cause I don't know what part is responsible for my problem..
Here are screenshots of what happens (and, and yes, I do have gravity turned on):