I don't understand why can't I create a collision agains my new terrain created. A simple cube can collide bouncing just like I want but a custom mesh imported as a .fbx can't do it and it falls endlessly passing through my new terrain.
Maybe is it due to the green edges of the cube and blue edges of my custom mesh?. Is it related to my problem?.
I've added a mesh collider which corresponds to me particylar mesh.
Can you help me please?.
Answer by asafsitner
Sep 16, 2011 at 11:24 AM
Yes, the edge color indicates if it's a collider or not. On your mesh collider component, make sure the 'convex' box is checked.
Answer by jorgon
Sep 16, 2011 at 11:44 AM
YES!!..I've solved just before you answered me but thank you very much!!. The problem was that my mesh had more than 255 triangles and although I activated the convex checkbox it hapenned nothing. In the reference manual you can read this: link text
Good, good ^^
Better mark the question as answered (accept mine or your own answer) so it won't appear on the 'unanswered' list. :)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
3 People are following this question.
Generate collision mesh from 2d texture?
Having an array of points(vector2), how do I create a 2d terrain? (new to unity)
Detail Mesh doesn't collide.
Crawling around the terrain
Mesh collide, terrain & object