Hi to all. I don’t understand why if i use a concave collider with my 2D game the 2D objects cross the planes and crossing each others as if there were no collider.
Instead, they don’t do this with 3D objects such as Boxes…
If i use a convex collider they works without problem with all others colliders…
(See the image below)
Concave Meshes simply can’t only collide with other concave meshes, so if you need something like this, then:
- You must split them to convex
collider parts - Create an concave game object. dont create any colliders to it.
- Add convex part game objects in to your concave gameobject.
- Add mesh collider to your convex meshes and mark them as convex.
- Remove your convex gameobjects MeshRenderer and MeshFilter components.
Goodluck
Thanks for response… And isn’t there an automatic solution to make concave vs concave collision? becaus i’d like to use ragespline 2d programmatically to make complex shapes…