x


Collision of a non primitive with a terrain

Hello!

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?.

Thanks

more ▼

asked Sep 16, 2011 at 10:16 AM

jorgon gravatar image

jorgon
75 88 70 69

(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

Yes, the edge color indicates if it's a collider or not. On your mesh collider component, make sure the 'convex' box is checked.

more ▼

answered Sep 16, 2011 at 11:24 AM

asafsitner gravatar image

asafsitner
3.5k 15 20 49

(comments are locked)
10|3000 characters needed characters left

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

more ▼

answered Sep 16, 2011 at 11:44 AM

jorgon gravatar image

jorgon
75 88 70 69

Good, good ^^ Better mark the question as answered (accept mine or your own answer) so it won't appear on the 'unanswered' list. :)

Sep 16, 2011 at 11:54 AM asafsitner
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x4375
x2532
x2242

asked: Sep 16, 2011 at 10:16 AM

Seen: 1869 times

Last Updated: Sep 16, 2011 at 11:54 AM