Jump to content

"Triggers on concave MeshColliders are not supported"


Recommended Posts

I am making a command pod with ladders and airlocks.  Each of the ladders and airlocks use a plain cube, with each mesh collider having 'Convex' and 'Is Trigger' checked, as per the wiki tutorial.  Unity imports the model and texture into the GameData without any issues, but in the VAB/SPH the part isn't there.  I checked the log, where I found this:

 

Quote

[LOG 01:03:42.646] Load(Model): DanHalen/parts/1-25_0-625_Fuselage/1-25_0-625_Cockpit/model
[ERR 01:03:42.654] Triggers on concave MeshColliders are not supported

[ERR 01:03:42.655] Triggers on concave MeshColliders are not supported

[ERR 01:03:42.656] Triggers on concave MeshColliders are not supported

[ERR 01:03:42.657] Triggers on concave MeshColliders are not supported

The rest of the log is here:  http://pastebin.com/FQxYJQeQ

This is the model in Unity:

kdxrspk.png

As you can see, there are no concave parts in the model, so I should not be receiving the error.

Link to comment
Share on other sites

Use a sphere collider or maybe a capsule collider. Using meshes for such simple things like ladders and airlocks is a pure waste of computing power. Remember that a sphere collider is nothing more than a range check and a capsule is just two spheres (again just ranges) with a distance. Mesh collision detection is MUCH more demanding. You wont see a difference with just one or two, but in a final scene these can add up and waste performance.

 

Also, your airlock collider seems to have two edges where only one should be, so probably is a non manifold mesh, and thus concave.

 

EDIT:

 

Edited by InsaneDruid
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...