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 Stephanides · Feb 17, 2015 at 02:16 PM · meshcolliderconvex

Problem with mesh collider

Hello this is my mesh collider

alt text And when i check Convex it makes this

alt text

Any solution?

mesh1.png (73.7 kB)
mesh2.png (282.3 kB)
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 Glurth · Feb 17, 2015 at 02:21 PM 0
Share

please describe the problem, in addition to the pictures.

avatar image Stephanides · Feb 17, 2015 at 02:26 PM 0
Share

On first picture is my plane with mesh like you see, i add mesh collider and give the same mesh like on plane, collider looks good and works good, but i need to make collisions with terrain and i need to check convex, but when i check convex it make make collider like you see on picture two

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by HarshadK · Feb 17, 2015 at 02:28 PM

Because your mesh is a concave mesh and you are setting it to be convex mesh so Unity generates convex colliders based off the shape of your mesh (your image 2).

Read: Convex and concave polygons for more details.

The problem is better explained in the video from this thread Concave Collider - Generate compound colliders with one click!. It is a forum thread for an asset that allows for concave mesh colliders.

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 Stephanides · Feb 17, 2015 at 02:33 PM 0
Share

Asset looks good, but when it compute new mesh then will be possible to check convex ? because i need to make collisions and there is just one way how to it - have convex mesh

avatar image HarshadK · Feb 17, 2015 at 02:44 PM 0
Share

You can use the concave collider asset from above link or create a different mesh to use as collider but make sure this new collider mesh has convex shape to be able to generate convex collider from it.

But also there seems to be some problem with the Original mesh itself as per how collider is generated.

avatar image Stephanides · Feb 17, 2015 at 03:26 PM 0
Share

i really dont understad, i have this asset, i give there my plane with this mesh. It log that no hull computed. And in convex log me convex hull computation failed... So i dont have convex and concave ? :D how then ?

avatar image
0

Answer by hexagonius · Feb 17, 2015 at 02:32 PM

This post states the same problem.

http://forum.unity3d.com/threads/resize-plane-object-mesh-collider.32128/

I guess the physics engine can't figure out if your mesh is convex, since its not volumetric. Give it a height and I bet it works.

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

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

22 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

Related Questions

Create hollow sphere with objects bouncing around inside 2 Answers

Mesh Collider doesn't follow the mesh's triangles 1 Answer

Couldn't create a Convex Mesh from source mesh "car_1_body" within the maximum polygons limit (256). The partial hull will be used. Consider simplifying your mesh. 0 Answers

Convex NonTrigger Mesh Collider + Rigidbody = weird transform position 0 Answers

Setting Mesh Colliders convex through script 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