- Home /
Destructible Meshes At Runtime?
Is there any way to break down pre-built meshes during runtime. For eg : I shoot a bullet at a primitive mesh, can I break down the primitive into multiple meshes and then apply explosive force on their rigid bodies?
Thanks!
Comment
Best Answer
Answer by frarees · Apr 02, 2013 at 09:30 AM
You can. In this answer's script it splits meshes into triangles at runtime. You can algo get a break effect using raytracing. Note that it's quite CPU intensive.
You should also maybe take a look at delauny triangulation and voronoi diagrams. Thats how the break tools in 3ds max or cinema4d or whatever work.