Upon hearing about the command reinstancePhysicsMesh(), I excitedly took a shot at making a sims/warcraft3 style level editor, wherein you can raise and lower terrain in real-time. the theory was that by calling the above command, collision would work out properly. so far, no dice.
in the attached file (made in apricot build 15606, but seems to work in 2.46), I’ve managed to get terrain shaping to work. The problem is, reinstancing it doesn’t seem to make any difference, and I get random crashes.
There are no guarantees the command works at all, I’ve certainly heard many people say there’s not way to do this in blender. but hey, there’s a chance they were wrong.
the reason for this post is twofold:
-does anyone see any glaringly obvious mistakes I’ve made that might cripple the script, and
-is the random crashing avoidable?
 forgot to pack the texture, it’s fixed now (I hope).
levelEditor.blend (240 KB)