Which one collider is faster?

Hi, developers!

I have to make invisible walls at the borders of the screen.
I see two variants of realization:

  1. 4 quads with mesh colliders with disabled/deleted MeshRendering.
  2. 4 box colliders without any meshes.
    (upd.) 3. http://gyazo.com/96dbc3bbb236b9d63d90a75aabb1525a.png?1353363583
    What should I use?

I’ve been developing game for iOS/Android. As you know, some Android devices are quite sucks and I’ve been using Unity’s physics, so I want to optimize game as much as it possible. Any advices would be very helpful.

Thanks!

Primitive colliders are always faster than mesh colliders.

–Eric

I had a similar question, about ‘cones’.

Is it better to use 3 cylinders or cubes, or a single ‘cone’ mesh?

The effect would be something like:

    []         []         []         []     
  [    ]     [    ]     [    ]     [    ]   
[        ] [        ] [        ] [        ]

Where each box or cylinder would stack on top of the previous one, to get a ‘cone’ shape, like spikes.

Even if I will use 4 of them instead of one optimized mesh collider?

Probably, but the best way is to test it and see.

–Eric