Search Unity

Tank going through mesh colliders, but not box colliders

Discussion in 'Physics' started by Airide101, Dec 10, 2015.

  1. Airide101

    Airide101

    Joined:
    Feb 20, 2015
    Posts:
    7
    I have a drive-able tank that I made and I have a few objects. some of these objects have box colliders, which blocks the tank just fine. But any objects with a mesh collider, the tank is able to force its way through it. I also tried making the object static but it didn't help. Mesh Colliders also seem to work fine on regular cubes, cylinders etc. but for my custom objects it doesn't. Anybody know how to fix this?
     
    Last edited: Dec 10, 2015
  2. MikeUpchat

    MikeUpchat

    Joined:
    Sep 24, 2010
    Posts:
    1,056
    Does your tank have a mesh collider on it? If so Unity does not support mesh collider to mesh collider if they are non convex.