I am a beginner at Unity and started to make my first 3D project with it. It’s an FPS game so I placed a First-Person controller in the world but when I ran the program, everything I place in the world(except the terrain) floats slowly upward into space. Any help would be very appreciated!
The problem is usually caused because there is a rigidbody on the terrain and while it looks like everything thing is floating it’s actually the terrain falling. Due to lack of other reference points it looks like everything is floating away. Fix it by removing the rigidbody.
Make sure that your character controller has a rigid body and that the character (viewed in the editor view) isn’t below or partially in the ground. Make sure they are at least above ground. Also like just said, check the use gravity menu option on the character controller.
The “Rigidbody” component will be on the right hand side of your screen in the Inspector when you select that object. If their is no Rigidbody it would not be falling.
If you want the ground to float you should disable gravity and make your rigid body kinematic (both settings within the Rigidbody).