• 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 Ludde · Oct 26, 2010 at 02:36 PM · collidermeshfallingthrough

Mesh Collider falling through?

Here is my model. http://img17.imageshack.us/img17/8126/cubemodel.png

I have also made some small cans, a pipes, a custom crate and a wheel in 3dsmax. This is the garbage items that I want to lay on the floor.

In Unity, I have applied a Mesh Collider on the big model. Then I put the small item models in the scene and drag them inside the model, "hovering" a few inches over the floor. Then I also apply mesh collider on them and checkbox "convex" on all of them. And the ridgidbody after that also ofcourse.

When I run my game, my crate and my wheel gets stuck on the floor, rest of them falls through the ground. What have I done wrong?

Do I need to apply mesh/rigidbody in a specifik order or something?

Ask me if I explain bad.

Thank you!

Comment
Add comment
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 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by xeophin · Oct 26, 2010 at 04:05 PM

Have you checked that the "Trigger" checkbox is not set?

Also, the mesh collider of the interior model should not be set to convex.

And when the objects are very small or move very fast, they might drop through other colliders.

Comment
Add comment · 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 Ludde · Oct 26, 2010 at 04:47 PM 0
Share

Trigger is NOT set. Interior model is NOT convex.

It seems to help placeing the items near ground. But the smallest pipe still falls through the model. Is there some way of slowing acceleration further?

avatar image xeophin · Nov 01, 2010 at 08:23 AM 0
Share

$$anonymous$$aybe you can set the Solver Iteration Count to a slightly higher count in Edit > Project Settings > Physics? Without complete knowledge about your project it is kinda hard to say ;)

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Some objects falls through Plane with mesh collider(grenade) 2 Answers

Why attach a kinematic rigidbody to a collider that moves a lot? 1 Answer

Rigidbody objects not colliding. 4 Answers

Pushing a mesh with mesh collider 1 Answer

Having trouble getting a smooth collision with dynamic mesh collider 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges