- Home /
Character not jumping
I am making a colour splash game But my character not jumping In every game am making with unity not jumping Codings are perfect
Is there any problems with unity
Please help me fast as you can guys. I stoped working with unity because of this problem. My last hope
It works for me, what error are you receiving.
Explain to us what is happening.
Answer by toddisarockstar · Jul 23, 2017 at 09:39 AM
the variable "rb" is never assigned in your code. add this to your code:
void Start () {
rb = GetComponent<Rigidbody> ();
}
Your answer
Follow this Question
Related Questions
How to make character controller forward jump a certain distance? 1 Answer
Making a rolling ball jump, but only when it is touching the ground 5 Answers
CharacterController vs Rigidbody (photo included) 2 Answers
Which character control method to use to constrain the movement to a circular path? 0 Answers
Does moving a charactercontroller via it's transform hurt performance? 1 Answer