- Home /
Every time i test my game,my character flies upward infinitely
Im making a game,and I
m using the prefab first person controller,but every time I play,my character starts flying upwards,and does`nt stop ever.What should i do?(I don`t know if this is a coding problem,but if you need code shown,just ask)
you might have 0 mass on your character controller or maybe an addforce in your code
Whats an addforce,and I have 1 mass on the character.
Have you added a Rigidbody to the character? CharacterController and Rigidbody don't mix well.
Answer by rileydabozo · Sep 21, 2014 at 12:31 AM
You may want to go to Edit > Project settings > Physics. This might show gravity as negative. You can edit the gravity to fit your needs.
Your answer
Follow this Question
Related Questions
Can't get gravity to work on Character Controller 2 Answers
Why is my character controller moving in unrelated directions? 1 Answer
Stop character controller from detaching from ramp 1 Answer
How to move while jumping? 1 Answer
How to make my Character run through walls with the use of the Character Controller component 1 Answer