The question is answered, right answer was accepted
Sluggish Gravity with Character Controller
Hey all,
So I've been doing tutorials to get more comfortable using Unity and actual hard scripting. I started following a tutorial, this one to be exact, to make a third person character controller I could build upon.
However, when implementing Gravity and Jumping, the gravity is exceedingly slow and sluggish when falling. (In the video -12 reaches the ground in a second, where as from a similar height, at -12 it takes my script a solid minute to reach the ground)
Jumping is also not functional.
I can't tell what I really did wrong on this one. I've been debugging for the last day and a half roughly, and would love some insight from people who know Unity a bit better than I do.
Here is the code I wrote, and here is the tutorial's code.
Regards, and thank you in advance
I figured out the issue It was a matter of a missing +=. I had = ins$$anonymous$$d of += leading to the math being done incorrectly.
I spent like a day to come to that conclusion. But hey! That's learning!
Follow this Question
Related Questions
I can only go up stairs once i have been running against the stair 0 Answers
Character only falls when button is pushed down 0 Answers
Gravity is not working 0 Answers
How to create an advanced hover for character 0 Answers
Gravity randomly does not work 0 Answers