3
$\begingroup$

So I want to make a sim where the camera starts in a hallway and moves towards a window at the end of it where a room is filling with water. When the room gets about halfway full or so i want the window to shatter, starting with small fractures and slowly getting bigger till it breaks. Letting out all the water in the room. Is something like that possible?

.blend file if that helps at all.

$\endgroup$
4
  • $\begingroup$ I don't think you can use a forces of fluid sim to break a glass, but there is nothing easier than fake it by using any other object to break a glass in Rigid Body simulation. Breaking glass in steps visually represented by spider cracks can be achieve just by image texture. All depend how slow or detailed animation should happen. $\endgroup$
    – vklidu
    Commented Jan 24, 2021 at 11:48
  • $\begingroup$ istockphoto.com/video/broken-screen-gm472856879-16865361 $\endgroup$
    – vklidu
    Commented Jan 24, 2021 at 11:56
  • $\begingroup$ This reminds me great commercial :) youtube.com/watch?v=r8q-R9ZISac $\endgroup$
    – vklidu
    Commented Jan 24, 2021 at 12:08
  • $\begingroup$ @vklidu i figured out how to make the glass break, with the cell fracture modifier. Ill hand animate the parts that break and stuff. Is there a way to keyframe fractures so they happen one at a time? Im using the annotate tool and selecting that the the cell fracture menu. $\endgroup$
    – Todahmoon
    Commented Jan 24, 2021 at 18:43

1 Answer 1

7
$\begingroup$

Cell Fracture

  • You can use object, particle system or Annotation Tool to initiate break structure. Directly in add-on specify Collection to store parts.
  • Select shards, search Rigid Body > Add Active
  • To protect shards from falling you would have to search Rigid Body > Connect
  • or in this case could be enough just select border shards and set them under Physics Properties > Rigid Body > Type > Passive*. On right-click Copy to Selected.
  • Add Sphere, search Rigid Body > Add Passive, check Animated, add two anim keyframes

enter image description here

Since glass is freaked from beginning ... for animation you would have to render glass and hide generated shards for render (Outliner > Render Visibility - Camera icon that can be keyframed) up to break moment, at this frame switch Render Visibility for glass and shards.

Fracture Modifier

There exist also great Fracture Modifier in special blender build (https://blender.community/c/graphicall) that keeps glass uncracked until collider breaks a glass.

Fluid Sim

Then run Fluid Sim

enter image description here

Tip:

  • To let fluid collide with all shards - in 3D viewport select one shard enable Fluid > Effector, Select Similar Shift+G > Collection, when all shards selected Make Links Ctrl+L > Modifiers
  • To keep shards frozen in initial position you can (in this case) change under Scene Properties > Rigid Body World > Cache change Simulation Start Frame
$\endgroup$
5
  • $\begingroup$ When I made the outlining shards passive and the inside shards active, the active parts fall out, i also have a bunch of shards so that could be why. How could i make everything stay in place until its visible? How i have it set up now is the cracked glass is invisible until the uncracked glass disappears and moves away so the fluid can move freely. Just figured it out, keyframe the dynamic. How can i copy keyframes to a bunch of objects at once? Thanks for the help btw. $\endgroup$
    – Todahmoon
    Commented Jan 25, 2021 at 17:10
  • 1
    $\begingroup$ To Copy keyframes from one object to others - Select all objects and last one with keyframes, pres Ctrl+L (Make Link) > "Animation Data" $\endgroup$
    – vklidu
    Commented Jan 25, 2021 at 18:31
  • $\begingroup$ Thank you again! I noticed that the shards only go a feet or two forwards then hit like an invisible wall. Do you know why that is? $\endgroup$
    – Todahmoon
    Commented Jan 25, 2021 at 20:26
  • $\begingroup$ should have mentioned, they fall down. $\endgroup$
    – Todahmoon
    Commented Jan 25, 2021 at 20:39
  • $\begingroup$ Fixed it, just had to add a passive "barrier" around it, in my case the hallway. Everything seems to work perfectly now, beside the fluid leaking before it cracks and some parts of the meshing phasing through the wall. $\endgroup$
    – Todahmoon
    Commented Jan 25, 2021 at 20:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .