I find this feature absolutely ridiculous! why can't mesh colliders interact with other mesh colliders? I have a race track which uses a mesh collider, right. I attach a primative collider to my Racecraft, and the collisions are ridiculous as when the player hits the side of the track, the collider keeps flipping about - it's crap!! i just want to apply a mesh collider. i've been playing endless hours of wipeout and that uses mesh colliders. it's driving me crazy!! is there an alternative?
3 Answers
3MeshCollider to MeshCollider is just too expensive, but you can add a simple hierarchy of sub-objects below your main Racecraft and place primitive colliders on each of them. The main rigidbody will detect and use them all.
Convex mesh colliders collide with mesh colliders.
I find this feature absolutely ridiculous! why can't mesh colliders interact with other mesh colliders?
It's not ridiculous. Collision detection and interaction between complex non-convex shapes is non-trivial. (A good way to gain an understanding of why this feature isn't supported in Unity would be to try implementing it yourself to see what's involved.)
Also, although I can't say this for sure, I'd be willing to bet that the game you referred to in fact uses compound colliders of some sort, rather than 'true' non-convex mesh colliders. (Again though, I don't know that for sure.)
This rant isn't a question. Title itself is loaded improperly. Mesh colliders DO collide with other Mesh colliders. The problem is then, apparently, they're not behaving in a way you expect or want. You didn't give us ANY sense of how complex your meshes are, how big your environment is, or how many objects are involved. Write a proper question.
– flaviusxviiYou have to realize Unity will not do everything for you ( unfortunatly yes...), and it has to compromise on some complex issues and make choices. Careful crafting, trials and errors improvement of code, behaviors and scene set up is key and at the root of success. Real time rendering requires performance aware development, it's constraining and time consuming yes! Unity is everything but crap... maybe not perfect nor do-it-all, but definitely not crap!
– Jean-Fabre