Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 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
2
Question by LEGEND383 · Apr 24, 2015 at 06:27 PM · rigidbodyunity5meshcollider

Unity 5 non-convex mesh collisions

I'm trying to set up some physics-based stuff which worked in an earlier version, but in unity 5 I get the following error:

 Non-convex MeshColliders with non-kinematic Rigidbodies are no longer supported in Unity 5.0.

Why? What was the problem with non-convex meshes with rigidbodys that caused this to be removed? If it was a problem, why was it not just fixed?

Is there a way to get unity to ignore this error and get on with it like the previous versions did?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by siaran · Apr 24, 2015 at 06:37 PM

I guess you'll have to use an earlier version if you really want to do this, but... you probably really don't.

In general, you do not want to put non-convex colliders on dynamic objects, that puts a lot of strain on the physics engine. (Calculating collisions on moving non-convex shapes is just really expensive). If you have some dynamic non-convex shape, you should approximate it using primitive colliders. (You should also do this with convex shapes in most cases).

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 LEGEND383 · Apr 24, 2015 at 07:28 PM 0
Share

I get that it's expensive but why remove it? Guess I'll have to make do with a work-around.

avatar image siaran · Apr 24, 2015 at 07:39 PM 1
Share

It's probably related to all the physics updates and optimizations they did for unity 5.

avatar image
0

Answer by stanzy · Feb 21, 2017 at 10:36 AM

Use the NonConvexMeshCollider script to solve your problem: http://www.productivity-boost.com/DownloadNonConvexMeshCollider.html I implemented that by myself because I had the same problem.

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 serg_borisov97 · Nov 28, 2021 at 08:04 AM 0
Share

The link is dead. Could you please reupload it?

avatar image Bunny83 serg_borisov97 · Nov 28, 2021 at 05:16 PM 0
Share

Well, that's not allowed by the original author as you can read on the archived page.

dont repost the code somewhere else withour my approval, place a link to this page instead.

The author had published the script on the assetstore.

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

24 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Capsule Collider and Mesh Collider Collision 1 Answer

Stop rigidbody from moving after it falls on another rigidbody 1 Answer

Rigidbody bowls/baskets - is there a better way? 0 Answers

Rigidbody falls through plane 2 Answers

Convex NonTrigger Mesh Collider + Rigidbody = weird transform position 0 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