Search code examples
unity-game-engineblendercollider

Unity mesh collider isn't colliding with other objects, 2D game


I've made a mesh from an SVG in Blender and converted it to a mesh. I then put it into Unity, to put a collider on it, the mesh does not collide with anything, even with convex ticked.

Here is my collider:

Collider

And here is my mesh in Blender (blue is the outside of the mesh):

Mesh in blender

What the convex collider looks like:

Convex collider

Can someone tell me why the collider is not working? Cheers!


Solution

  • The MeshCollider is implemented in the 3D Physics engine and therefore incompatible with the 2D Physics engine. They simply don't interact.

    What you probably want to use instead is the PolygonCollider2D