About Destructible 3d objects

Hello all

Im looking for help to my question, if i trow object to the wall in my game, let say coffee cup, to crack when it hits to the wall.

So far i tried find algorithm to manipulate meshes, but no luck.

I need some variables to the script , speed of object and how much force is aplied when hit to the wall. And also i need all info about how to make unique or even static cracking / splitting etc to the object.

Im not asking ready made code, ofc i will take those if some1 is really so smart to input it in no time.

Just want to hear way to go

Unity doesn't really support destructible meshes. To the best way is to fake it:

Take a look at this answer (on how to fake destructible structures with groups of rigid bodies):

http://answers.unity3d.com/questions/3829/faking-destructible-structures-with-groups-of-rigid-bodies