10-07-2024, 03:52 PM
(10-07-2024, 02:34 PM)GuoliZheng Wrote: Hello,
I have recently tried out the new grid-based fluid renderer and it looks fantastic, very captivating. Now, I would like to extract the mesh from a specific frame. There are many interesting things that can be done with this mesh, such as freezing it and setting it as a mesh collider. The possibilities are quite exciting to think about.
So, how should I go about doing this? How can I extract the mesh from a specific frame and turn it into a prefab, etc.?
Thank you!
Hi!
Right click on the ObiFluidSurfaceMesher component, then “Bake Mesh”. This will save the current frame as a mesh asset in your project, you can then use it on prefabs, etc.
Kind regards,