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!
Does everything I place in the world have a rigidbody? If so, set rigidbody to use gravity or is kinematic.
Answer by NAKAS
Feb 17, 2013 at 09:45 AM
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.
Yes I'm pretty sure your right. The terrain is falling, but I don't know how to remove the rigidbody.
You might want to work through more official Unity tutorials, then. That's a basic thing. You click the object then remove the Rigidbody component using its right-click menu in the Inspector.
I'm sorry but I don't see any "RigidBody" component.
Answer by digiben
Feb 17, 2013 at 06:58 AM
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.
Yes that's all working fine. It's just that the terrain is falling.
Answer by RyanZimmerman87
Feb 17, 2013 at 11:46 PM
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).
Yes I know that, I'm not stupid. But still. the terrain keeps falling
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
14 People are following this question.
(point)Light goes through objects
is there a simpler way to lay out my fence?
Objects glitch between each other and the terrain
Randomly Generated Terrain
Objects parented to "FPS-Camera" goes through terrain and walls!