I want to make objects destructible when a collision occured like a bullet or rocket hit. It will randomly divided to small objects.I think that it should be done by mesh deformation but i have no idea about how to do that. Is there any sample do you know about this?
Interesting. I will try to find code.
Here it is! http://forum.unity3d.com/threads/91183-Released-Mesh-Destruction-quot-Piecemaker-quot/page3
thank you very much liver9711 i will try that