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!

1 Answer

1

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.

Much appreciated, thanks!

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.