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 Deikkan · Jan 11, 2011 at 12:47 PM · collidermeshmeshcolliderphysx

Mesh colliders with PhysX 2.8.

I made a game recently using Unity 2.6. However, after recently converting the game into Unity 3.1, I find that all of the mesh colliders that worked well before are now near useless. They sometimes fail to detect the collision and the player can run through most of the objects without much hindrance.

I tried checking and unchecking Convex as well as some of the other options but that doesn't seem to have changed anything. I'd also rather not have to write a script to handle collision, or have to make any compound colliders since there are a lot of mesh colliders to have to apply them all to.

Any help?

Comment
Add comment · Show 1
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 Statement · Jan 11, 2011 at 12:56 PM 0
Share

Do you have any errors or warnings in console?

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Borgo · Jan 11, 2011 at 02:11 PM

In the documentation says that Mesh colliders don't collide with Mesh colliders.

"Mesh Colliders cannot collide with each other unless they are marked as Convex. Therefore, they are most useful for background objects like environment geometry."

"Convex Mesh Colliders must be fewer than 255 triangles"

"Primitive Colliders are less costly for objects under physics control."

See the complete documentation: http://unity3d.com/support/documentation/Components/class-MeshCollider.html

I recomend to use primitive colliders instead Mesh colliders, there are problems with back culling too.

Use primitive colliders and atach a Rigidybody component, it will be calculated much better, if it is a not moving object, mark as IsKinect.

Hope it help you.

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 Deikkan · Jan 11, 2011 at 03:04 PM 0
Share

Thanks for the reply. The problem is not with mesh collider against mesh collider, as I am using a capsule collider with the Platform Controller script for the player. The mesh colliders in question are attached to objects such as rocks, where applying primitve colliders to each rock would take a long time and so it would not the most ideal solution.

avatar image Borgo · Jan 11, 2011 at 07:04 PM 0
Share

Like $$anonymous$$said, sounds like a bug, just see if your meshs don't have more than 255 triangles... If not, report to Unity.

avatar image
0

Answer by jonas-echterhoff · Jan 11, 2011 at 05:32 PM

This sounds like a bug to me. Please submit a bug report with your project folder, so we can have a look at the problem.

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 r3po · Mar 24, 2012 at 12:44 AM

Does anybody know if this was fixed? I'm having the same issue.

Thanks,

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

1 Person is following this question.

avatar image

Related Questions

Turn Off Mesh.Bake Scaled Mesh PhysX CollisionData ? 0 Answers

How to rotate a mesh collider? 0 Answers

2D collider wont collide with mesh 0 Answers

Green Wireframe Length 1 Answer

Trouble with Inaccurate Mesh Collider 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