- Home /
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.
I have the exact same problem when the object I throw is small (or very small).
As an additional note, my spaceship doesn't move very fast
Answer by lvictorino · Feb 28, 2012 at 07:01 PM
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.
Answer by programmrzinc · Feb 28, 2012 at 01:45 PM
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.
I might have to resort to box colliders, which will be a shame because the inaccuracy of box colliders really notices.