Duplicate Question : http://answers.unity3d.com/questions/378930/how-delete-or-remove-a-component-of-an-gameobject.html
How can you delete a MeshCollider?? CAN you delete a MeshCollider?
So I am quite new to Unity and I was trying out this tutorial on YouTube on how to make a sidescroller game. The guy in the video made a C# script that used the Mesh collider, and when I dragged the C# script into the 'Player' (that was actually just a Quad 3D object), it came up with a message saying: Can't add component 'BoxCollider2D' to Player because it conflicts with the existing 'MeshCollider' derived component!
Yes, I have tried disabling the mesh but that still doesn't work :(
Any help would be much appreciated! Thank you :)
[Tutorial I used]: http://www.youtube.com/watch?v=MbWK8bCAU2w&list=PLFt_AvWsXl0f0hqURlhyIoAabKPgRsqjz∈dex=1
Of course you can delete a $$anonymous$$eshCollider. Yoiu can delete any kind of Component on a GameObject, save for the Transform component.