x


Problem with colliders going through platforms

I have terrain with a mesh collider (with convex set to false) and a spaceship with a mesh collider (with convex set to true).

There are certain points in the terrain where the spaceship goes through very easily. I do not understand why this is happening because these areas are pretty flat. What should I be looking for?

I am not using any special sort of terrain, just a basic low polygon mesh.

more ▼

asked Feb 28 '12 at 01:01 PM

numberkruncher gravatar image

numberkruncher
1.8k 36 46 57

I have the exact same problem when the object I throw is small (or very small).

Feb 28 '12 at 01:41 PM lvictorino

are you kruncher from marsxplr? just asking.

Feb 28 '12 at 01:43 PM programmrzinc

@programmrzinc No, I am afraid not.

Feb 28 '12 at 03:03 PM numberkruncher

As an additional note, my spaceship doesn't move very fast

Feb 28 '12 at 03:10 PM numberkruncher
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

The problem is because your spaceship uses a mesh colider it will be far more efficient with a box or sphere collider.

I suggest you to user Compound Colliders instead.

more ▼

answered Feb 28 '12 at 07:01 PM

lvictorino gravatar image

lvictorino
639 7 17 19

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

I would suggest you use a Box Collider, instead of a mesh Collider. The same thing happened to me, but it worked when I changed it to a Box.

more ▼

answered Feb 28 '12 at 01:45 PM

programmrzinc gravatar image

programmrzinc
494 4 10 15

I might have to resort to box colliders, which will be a shame because the inaccuracy of box colliders really notices.

Feb 28 '12 at 03:12 PM numberkruncher
(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:

x2482
x1682
x1463
x116

asked: Feb 28 '12 at 01:01 PM

Seen: 739 times

Last Updated: Feb 28 '12 at 07:01 PM