x


My characters and rigidbodys fall on my new terrain

Hi, recently I have a very weird error and I don't know how to fix it. I've done my game using Lerpz basics, and once I've finish all the scripts and all my engine I export all my stuff to another project with a terrain done by me. But I experiment a huge problem on this terrain. My characters fall through the terrain, and rigidbodies too! and I don't know what it's the problem, on the previous terrain I had not any problem like this. And my characters are not intersecting the ground, they have they own character controller and the terrain looks like having his collider.

Here you have a screen that shows it:Picture

And the code of grounding:

function IsGrounded () { return (collisionFlags & CollisionFlags.CollidedBelow) != 0; }

Any idea? Hope you could help me. Lot of thanks

more ▼

asked May 10 '11 at 03:11 PM

Infinity gravatar image

Infinity
141 36 39 44

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

1 answer: sort voted first

Ok, finally I have solved it in with this option of Unity:

Edit->Project Settings->Physics->collisionmatrix

more ▼

answered May 12 '11 at 10:31 PM

Infinity gravatar image

Infinity
141 36 39 44

(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:

x1467
x97

asked: May 10 '11 at 03:11 PM

Seen: 918 times

Last Updated: May 10 '11 at 05:02 PM