• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by daxx · Mar 16, 2011 at 08:21 AM · physicscolliderterrainfallingrigid

Falling through ground with colliders

Imported a FBX of a vehicle, made sure to tick Generate Colliders, and it's well above the terrain so it's not partially stuck inside it. Soon as I add a Rigid Body, it falls straight through immediately upon start no matter what I do. Tried adding different shaped collider meshes to it, cube, plane, sphere, the actual body of the model... nothing matters.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image daxx · Mar 16, 2011 at 07:04 PM 0
Share

Terrain Collider is there, As Trigger is NOT checked. I tried applying the colliders to each part of the model, no beans.

Only thing that remotely worked so far is adding a plane to the bottom of the vehicle and THAT collides with the terrain - but that is far from ideal, bordering on worthless, and high points in the terrain pop up through the vehicle.

avatar image MikePatterson · May 08, 2013 at 06:24 PM 0
Share

Has anyone solved this? I'm having the same issue and none of these answers work.

I've imported two .blend models, one of a plane that acts as the terrain and a simple person model. The plane has a terrain collider and the simple person has a mesh collider and rigidbody. The person starts 5 to 6 units above the terrain and upon play, the model falls through the plane with no error message. None of the colliders are set to act as triggers, and even a unity cube with a box collider and rigidbody falls through the terrain.

The plane does have some complex geometry in it, but it's not being rendered as separate meshes, it's all one mesh.

10 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Hyperion · Jun 14, 2013 at 01:35 AM

Generating colliders doesn't interact with terrain. Therefore, the following link has a step by step process to solve your problems (tutorial for vehicle physics).

http://msfx.co.uk/clients/aston/2013/8/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Timelord33 · Jul 20, 2013 at 07:48 AM

I believe that you need to check "Convex" under the "Collider" component of the car.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Spencey89 · Sep 04, 2013 at 10:18 PM 0
Share

This solved my problem with rigid body falling. Having 'convex' selected in the mesh collider causes the rigid body to interact with the terrain> Thanks :D

avatar image
0

Answer by $$anonymous$$ · Mar 28, 2014 at 07:49 AM

Add a mesh collider to both the car and the terrain. If that doesn't work, add an empty gameobect around the car, give the gameobject a BOX collider, AND MESH collider. Then it should work. If not, give me a copy of the project and I'll see if I can get it.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by KingGeneraL · Nov 26, 2014 at 10:11 PM

mesh collider > tick on "convex"

hope your problem solved or try using "box collider" with "convex" ticked

cause : - too thin collider - using mesh is very-very useless if not using convex

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ttr1888 · Apr 20, 2015 at 06:28 PM

tick the convex box on your car collider that's what I do when I break windows :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • ‹
  • 1
  • 2

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Trying to use colliders on trees to interact with player 1 Answer

How do i prevent an imported Mesh from falling through Terrain? 3 Answers

collision with terrain problem? 3 Answers

Create a custom Collider? 4 Answers

How to get OnCollisionEnter working with Terrain. JavaScript 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges