Hi guys for my final year project I'm working on comparing the difference between a few destruction techniques for a game environment, based on looks and computational efficiency. I intend on comparing a model with pre-broken parts (which falls appart on collision), to the same model that uses my shattering algorithm in real time. I will be trying to implement my algorithm using the mesh classes in unity to access c vertex data and I should have everything I need except for a model which has a pre-broken, and nonbroken form. I was wondering if you guys could point me in the direction of any free to use resources which have a solid form and a form in pieces. (A standard wall for example would be ideal). Thanks for reading, Andrew.
closed as off topic by Josh Petrie♦, Anko, Byte56♦, Tetrad♦ May 14 '13 at 21:18
Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.
In practice modular meshes are achieved using a combination of techniques like mesh deformation, noise generation, and subdivision.
Meshes are actually recalculated (or split) at runtime to create several separate meshes. Noise generation is sometimes used to create particle effects and subdivision to create better levels of detail when a split mesh has too few faces.
That being said, it is going to be difficult to find the resources you are requesting. You'll be better off modeling a few cubes yourself to achieve your goal.
Another option is to render a group of cubes that will listen to the collision event, and another group that will not. This way one will fall apart on collision and the other won't.
You could write a small method that will actually combine the meshes of the later group of cubes. Unity3D has a built in method for doing this: CombineMeshes