Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by boddole · May 29, 2015 at 12:23 PM · collisioncollidermeshcollidermesh collidertriangles

Very Confused About Convex Mesh Collider Result

Hello everyone, I'm really stuck on understanding the result of applying a convex mesh collider with one of my meshes.

The problem:

When setting up the mesh as a whole, the concave mesh collider is not accurate, you can see in the 'trouble' image that the collider misses vertices and the edges are not correct.

What I've done so far:

I re-check the limit of 255 triangles and original mesh meets that requirement (according to Unity's calculation). I also (as far as I can tell), meet the criteria for a convex mesh. At one point I just chopped off 2/3rds of the model and stuck the same front of the model in and...it worked (see the 'works' image).

So at this point I'm not sure what to make of it. Is the mesh as a whole concave? Is there some sort of 'limit' I am not aware of? Perhaps Unity is reporting one number (as far as tris go) but uses another internally? Any ideas are appreciated, thank you for reading.

note the miss-alignment

everything seems fine

trouble-220verts-148tris.jpg (179.7 kB)
works-62-verts-38-tris.jpg (184.1 kB)
Comment
Add comment · Show 4
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 screenname_taken · May 29, 2015 at 12:44 PM 0
Share

Sorry, i was saying that it was just the way unity calculated the mesh, but then i noticed that it did miss a vertice or two.

avatar image boddole · May 29, 2015 at 01:05 PM 0
Share

@screenname_taken:

'i noticed that it did miss a vertice or two'

-If I showed the whole mesh you would see that more clearly, but that would require a video to properly show.

'the way unity calculated the mesh'

-That is something I'm curious about (although I suppose as long as it works it isn't that important). When using non-convex, Unity seems to use the geometry of the source mesh 1:1, but when doing convex, it creates pole pieces, any idea why?

avatar image screenname_taken · May 29, 2015 at 02:32 PM 0
Share

Well, Unity will try to make a mesh to cover the whole thing with as few pieces as possible, leave no holes or inlets, and turn all the face normals to look outside. If you have a square with 100 triangles for example, it is still the same with a square with 2 triangles. But i haven't had a case with any of my models so far that Unity said "Naaah. i don't like that vertice."

Perhaps it was a glitch with that import and your edit made unity to re calculate things.

avatar image boddole · May 30, 2015 at 07:13 AM 0
Share

@screenname_taken:

"Perhaps it was a glitch with that import and your edit made unity to re calculate things." -I've tried a number of different import settings / changing the model file type, so far nothing...I'll make sure to note if I find anything out.

0 Replies

· Add your reply
  • Sort: 

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

20 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

Related Questions

Anyway to make my object not fall through the floor without convex? 0 Answers

Correct position of overlapping meshes 0 Answers

Mesh Collision system seems to be buggy. 1 Answer

Problems with mesh collider 0 Answers

Green Wireframe Length 1 Answer


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