I’d like to know how can I change a box collider of game object to unique shape collider.
It is very important, because I can stop the pass through with collider.
On the picture with yellow colour you can see the default box collider and
with blue what I need.
Thanks, nice ideas. I have tried compound collider plugin and it is good solution, when the object has one mesh.
The best way for me is mesh collider. I have the all 3D models, than I can make simply mesh for these.
I attached one and you can see it on the picture. The problem is, if I use convex and trigger, then the mesh is changing to box.
How can I detect mesh collider maybe with collision enter?
Convex does Not change this into a box collider !
However, it would be (and is) expected behavior if the Mesh Collider you show there looks like a box(if convex), because the mesh collider is then generated in a way like you wrap something in plastic wrap…