• 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
0
Question by BioExtract · Dec 08, 2011 at 08:50 AM · terrainmesh collider

terrain + mesh + mesh collider doesn't work?

So, I imported an fbx of a cone and when i add a mesh collider and a rigidbody to it, it falls through the terrain! I have a collider on the terrain as well. I tested both the mesh collider from the cone and the terrain collider with a unity cube. So basically, the cone collides with anything that isn't the terrain. And the terrain only collides with cubes/spheres ect. from unity. Anyone know what i should do?

Comment
Add comment · Show 3
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 KieranSmart · Oct 23, 2014 at 03:39 PM 0
Share

I have a similar problem but using convex doesn't seem to work, at least not always.

I have a scenario where I have 3 object dropping onto a surface, the surface originally used a box collider and the 3 objects use mesh colliders pre-convex. The objects interacted with the surface fine but they didn't interact with each other so I enabled the convex option and immediately my objects started falling through the surface. I then changed the surface to use a mesh collider and one object collided with the surface but the others fell straight through despite each of the objects having exactly the same collider and rigid body properties (other than the actual mesh)

I am very confused and very frustrated as primitive colliders will not work with my scenario but I cannot get the mesh colliders to work.

Shouldn't a mesh collider with convex enabled also interact with primitive colliders?

I read somewhere that there is a limited number of faces the mesh can have. The meshes aren't particularly complicated but if there were too many faces how would the collider behave?

Are there any other properties belonging to an imported asset that might effect the collider?

avatar image robertbu · Oct 23, 2014 at 03:40 PM 0
Share

@$$anonymous$$ieranSmart - it would be best to open this as a new question. You are far less likely to get an answer with a comment on a three-year-old question.

avatar image KieranSmart · Oct 23, 2014 at 03:47 PM 0
Share

sorry I have, the link is: http://answers.unity3d.com/questions/815671/mesh-colliders-with-convex-option-enabled-doesnt-w.html

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by dannyskim · Dec 08, 2011 at 11:44 PM

From the Unity Documentation:

There are some limitations when using the Mesh Collider. Usually, two Mesh Colliders cannot collide with each other. All Mesh Colliders can collide with any primitive Collider. If your mesh is marked as Convex, then it can collide with other Mesh Colliders.

http://unity3d.com/support/documentation/Components/class-MeshCollider.html

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 chilemanga · Apr 19, 2013 at 07:54 PM

Marking mesh collider as convex solves that problem. Thanks!

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Why I can't see convex meshes in unity? 0 Answers

Make a simple tree 1 Answer

Multiple terrains + colliders 0 Answers

What if the mesh (in mesh collider) does not match visually with the model? 2 Answers

Why aren't the mesh collider and mesh filter meshes saved in prefab children? 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