Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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 /
This question was closed Jan 05, 2015 at 04:23 PM by SaraCecilia for the following reason:

Question is answered multiple times.

avatar image
5
Question by Blob · Nov 22, 2010 at 06:55 PM · physicsrigidbodycolliderterrainfalling-through-terrain

My object falls through terrain.

Hi.

I am a particular unity and gamedev newbie overall. I have an object with Mesh Collider active. Whenever I add rigidbody to it, the object falls through terrain.

Please explain what I'm doing wrong.

Comment
Comments Locked · Show 1
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 NothingINParticular · Feb 10, 2014 at 12:18 AM 0
Share

i downloaded a mountainous terrain from the store and my character falls though it, i have tried everything....

8 Replies

  • Sort: 
avatar image
5

Answer by Waz · Oct 25, 2011 at 02:39 PM

Mesh Colliders are not useful on Rigidbodies unless they have Convex set, because otherwise they do not collide.

Comment
Comments Locked · Show 2 · 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 rhowell · Mar 04, 2013 at 06:09 PM 0
Share

I had the same problem. Once I set the mesh collider to be convex it worked perfectly. Thank you!

avatar image ThreeDeeNut · May 01, 2014 at 04:31 PM 0
Share

I have been beating my head against the wall trying to figure out why my mesh colliders on my chain links aren't working and this seems to be the only answer. $$anonymous$$y question to you is, do you know why don't mesh colliders work? Is it related a bug that will be fixed? Did mesh colliders ever work? Do you think they might be made to work in the future?

avatar image
3

Answer by GlennHeckman · Nov 22, 2010 at 08:13 PM

make sure that the bottom of your rigid body's collider is above the terrain at start, otherwise, if you have it "sitting" on the ground, the math might mistake it as already below the ground and start to fall. Simply lifting the object a bit so that the colliders don't overlap should do the trick

Comment
Comments Locked · 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
2

Answer by tomeromero · Nov 23, 2010 at 09:54 PM

if your gameobject is exported from a 3d software make sure in the project view to tick the Generate Colliders and hit Apply.And then drag your gameobject in your scene.

Comment
Comments Locked · 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
1

Answer by Rgalaxy · Dec 01, 2013 at 12:29 PM

i just encountered the same problem, its because my floor was a Plane, and when i try to change it with box, it doesn't fall through.. maybe yours too? try to use "Box" instead of Plane.

Comment
Comments Locked · 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 frmusta · Nov 22, 2010 at 07:12 PM

does your terrain have a collidor on it as well?

Comment
Comments Locked · 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 Blob · Nov 22, 2010 at 07:35 PM 0
Share

of course it does.

  • 1
  • 2
  • ›

Follow this Question

Answers Answers and Comments

9 People are following this question.

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

Related Questions

Player's Rigidbody slides up terrain walls 1 Answer

Why does this MeshCollider think it's half as thick? 2 Answers

When and when not to use kinematic rigidbody? 2 Answers

Do you have to have a rigidbody component for collision detection? 1 Answer

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