I'm currently working on a script that can be introduced to .cga code to show damage to buildings and other items within the scene. I'm currently working from the information at this link: simple procedural destruction . I'm able to get it to depict damage to the buildings, but my damage is showing up underneath the buildings, and the building models themselves are still in tact. Does anyone have any ideas? I'm currently playing with the z values to see if I can move the debris polygons to the level of the original models. Any assistance is appreciated. Thanks in advance.
Here's a screenshot of my progress so far: