Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 qJake · May 02, 2010 at 07:52 AM · collisionphysicsmeshmeshcollider

MeshCollider Collision Table

Could someone provide me with a collision table of what MeshColliders will/will not send collision/trigger messages with (not physics collisions, just the messages, or, for example, Raycasts)? I'm looking for any possible configuration (Kinematic / Trigger / Raycast / Other types of colliders / Other Mesh Colliders).

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 Mike 3 · Jul 25, 2010 at 02:48 PM

At the very bottom of the page is a matrix of what collides with what:

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

It's pretty badly laid out, but it'll give you what you need

The rest of the page will give you information on meshcollider specific interactions

Raycasts should always work with meshcolliders, no matter what sort

I know it was a bit of an old post, but may as well fill in the missing info

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 qJake · Jul 25, 2010 at 09:14 PM 0
Share

That table doesn't have anything on mesh colliders (convex or otherwise) which is why I was asking. I know about that table already (and yes, it is hideous).

avatar image Mike 3 · Jul 25, 2010 at 10:29 PM 0
Share

Indeed, but the text above it does. (i.e. convex collider collides with everything, non convex collide with everything but other non convex. Though it fails to mention non convex won't work with terrains)

avatar image
0

Answer by Ashkan_gc · May 02, 2010 at 09:28 AM

their collision table is just like other colliders but they can not collide with each other if they move and their triangle count is higher than 255. they can collide with other collision shapes easily just like others but non static mesh colliders with more than 255 triangles can not have collisions with each other (physx don't detect it). so mesh colliders that they are convex can collide with other convex mesh colliders when moving but they are limited to 255 triangles. (you can check the convex checkbox in mesh collider's inspector). there is not any other limitation applied. convex mesh colliders that move are heavy don't use them if you don't have to do. each collision check should check for all 255 triangles of each mesh collider.

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 qJake · May 02, 2010 at 06:22 PM 0
Share

Not really what I was looking for. I already know about the limits, and convex mesh colliders. I'm looking for if (and how) they collide with triggers, raycasts, and other primitives. Your answer was also basically one big run-on sentence... I was looking for something a bit more organized so I could reference it easily.

avatar image Ashkan_gc · May 03, 2010 at 03:53 AM 0
Share

mesh colliders are as same as other colliders like box/sphere. a trigger mesh collider can only collider with kinematic rigidbody or rigidbody and you can cast a ray and detect them. see the collision table in docs. there is no difference other than what i told you.

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

No one has followed this question yet.

Related Questions

MeshCollider Failure at high velocities 0 Answers

Implementing Meshless Deformation 0 Answers

How to setup collision with freshly generated mesh and prefabs 1 Answer

Rigidbody and convex mesh collider 1 Answer

Mesh Collider for Voxels 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