Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 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 /
avatar image
1
Question by daxx · Mar 16, 2011 at 08:21 AM · physicscolliderterrainfallingrigid

Falling through ground with colliders

Imported a FBX of a vehicle, made sure to tick Generate Colliders, and it's well above the terrain so it's not partially stuck inside it. Soon as I add a Rigid Body, it falls straight through immediately upon start no matter what I do. Tried adding different shaped collider meshes to it, cube, plane, sphere, the actual body of the model... nothing matters.

Comment
Add comment · Show 2
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 daxx · Mar 16, 2011 at 07:04 PM 0
Share

Terrain Collider is there, As Trigger is NOT checked. I tried applying the colliders to each part of the model, no beans.

Only thing that remotely worked so far is adding a plane to the bottom of the vehicle and THAT collides with the terrain - but that is far from ideal, bordering on worthless, and high points in the terrain pop up through the vehicle.

avatar image MikePatterson · May 08, 2013 at 06:24 PM 0
Share

Has anyone solved this? I'm having the same issue and none of these answers work.

I've imported two .blend models, one of a plane that acts as the terrain and a simple person model. The plane has a terrain collider and the simple person has a mesh collider and rigidbody. The person starts 5 to 6 units above the terrain and upon play, the model falls through the plane with no error message. None of the colliders are set to act as triggers, and even a unity cube with a box collider and rigidbody falls through the terrain.

The plane does have some complex geometry in it, but it's not being rendered as separate meshes, it's all one mesh.

10 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Velketor · Mar 16, 2011 at 02:07 PM

make sure you apply the collider's to each individual mesh. don't apply the colliders to the entire .fbx as a whole. just it's individual parts. also, try adding more than 1 mesh to collide. if 1 mesh isn't working, duplicate it for double protection.

Comment
Add comment · Show 3 · 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 rw3iss · Dec 30, 2012 at 12:00 AM 0
Share

This is the key. Thanks.

avatar image Fattie · Dec 30, 2012 at 08:14 AM 0
Share

if that's the correct answer PLEASE "TIC$$anonymous$$" IT to help close out the question

avatar image pinder · May 29, 2014 at 01:59 PM 0
Share

It works for me! Thanks.

avatar image
2

Answer by networkZombie · Mar 20, 2011 at 11:40 PM

increase its y position so its not touching the ground

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 daxx · Mar 21, 2011 at 08:45 AM 3
Share

Erm. "... and it's well above the terrain so it's not partially stuck inside it."

avatar image harpobarrett · May 22, 2013 at 09:23 AM 0
Share

thanks this helped a lot

avatar image
1

Answer by Infinity · May 12, 2011 at 10:31 PM

Can you take a look here on your Unity:

Edit->Project Settings->Physics->collisionmatrix

Comment
Add comment · 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 Waz · Oct 25, 2011 at 02:37 PM 0
Share

Exactly. Generate Colliders makes non-convex $$anonymous$$esh Colliders, which do not interact with terrain.

avatar image
1

Answer by Hyperion · Jun 14, 2013 at 01:35 AM

Generating colliders doesn't interact with terrain. Therefore, the following link has a step by step process to solve your problems (tutorial for vehicle physics).

http://msfx.co.uk/clients/aston/2013/8/

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 efge · Mar 16, 2011 at 11:36 AM

Maybe your Terrain Collider is set as Trigger or is removed from the terrain?

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
  • 1
  • 2
  • ›

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.

Follow this Question

Answers Answers and Comments

14 People are following this question.

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

Related Questions

Trying to use colliders on trees to interact with player 1 Answer

How do i prevent an imported Mesh from falling through Terrain? 3 Answers

collision with terrain problem? 3 Answers

Create a custom Collider? 4 Answers

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