- Home /
Blender truck falls through floor
I put a truck imported from blender into a scene with some other vehicles. As soon as I assigned a rigibody to this truck it started falling through the terrain floor, which stops if I tick kinematic or untick gravity. None of the other vehicles have this problem even though they also have the same rigibodies with the same settings as the one for the truck. Thanks
Answer by Tseng · Feb 16, 2012 at 03:51 PM
Your truck has no colliders by default. You have to add a collider AND an rigidbody. Adding only Rigidbody will have it fall through, because it has no collisions :)
Since your truck is probably a skinned mesh, you can't use convex colliders (i.e the trucks mesh as collider). So you should use multiple primitive (box, sphere, capsule) colliders to cover up your truck.
edit: Same goes for the ground. Since the ground is static, it's ok to use convex/mesh collider.
This solution of using box, sphere, capsule, and wheel colliders worked for me on my Blender car asset.
Answer by tingham · Feb 16, 2012 at 03:07 PM
Two things:
Make sure that your ground is kinematic and rigid as well.
In blender, you need to make sure that your mesh is not offset from it's pivot. This will cause any colliders you attach to your mesh to not line up with the geometry; often times bisecting the "floor" and causing the solver to fail.
I guess one last thing to check is to make sure you've got colliders on everything but that seems pretty obvious.
Answer by TEBindustries · Feb 19, 2012 at 06:00 PM
Thanks Tseng, a box collider works great! :D
Don't post comments as answer and accept the answer, so it will gets marked as solved so people who are helping can skip it and look for other not solved questions
Answer by traveler · Dec 31, 2013 at 05:44 PM
In my case, it was the terrain. I just started trying things until I hit upon the answer. In the terrain collider, I unchecked the Is Trigger checkbox, and my imported Blender jeep now does not fall through the terrain.
Your answer
Follow this Question
Related Questions
Help with blender and animations. 0 Answers
Blender animations in Unity (Pictures Included) 1 Answer
Problem to import animation in unity 2 Answers
Problem with Blender and animation. 1 Answer
Blender UV map not importing correctly 0 Answers