- Home /
New to Unity, trouble with physics it seems!
I have just moved over to unity from UDK and am playing around with it trying to create just a simple game for now.
Now that I've placed all my assets into the scene, when I go on the game view everything just drops and keeps on falling . Can anyone please help with the problem, I have tried looking through different settings but I don't understand lol.
Thanks!
Is it every singly thing in your scene? Or just certain things? How did you implement the physics, Script or with a rigidbody?
$$anonymous$$y guess is you're just missing colliders
Answer by robertbu · Jun 17, 2013 at 09:31 PM
Your objects are falling because you've attached a Rigidbody component and gravity is turned on by default in a Rigidbody component. You can:
Turn gravity off in the Rigidbody component of each object
Turn on the Rigidbody.isKinematic flag in the Rigidbody of each object
Disable or turn off the Rigidbody component for each object
Create a plane below your object for them to rest on (the object must start completely above the plane for this to work).
Answer by create3dgames · Jun 17, 2013 at 09:32 PM
Raise your player position in the y axis by about one meter.
Answer by RomanorumLegio · Jun 17, 2013 at 10:14 PM
Sounds like you don't have a collider on your terrain, objects, or both. Go through your terrain and objects and see if they have a collider assigned to them in the inspector. If they don't, scroll down to add component in the inspector -> physics -> then a collider of your choice. Have fun, mate!