x


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!

more ▼

asked Oct 26 '10 at 02:36 PM

Ludde gravatar image

Ludde
55 11 11 19

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Oct 26 '10 at 04:05 PM

xeophin gravatar image

xeophin
357 8 11 23

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?

Oct 26 '10 at 04:47 PM Ludde

Maybe 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 ;)

Nov 01 '10 at 08:23 AM xeophin
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1765
x1403
x99
x61

asked: Oct 26 '10 at 02:36 PM

Seen: 3134 times

Last Updated: Oct 26 '10 at 02:36 PM