4
$\begingroup$

I can animate objects, move them, rotate them, etc and create an animation from that. I can also create a fluid simuation, bake that and create a little video from that. But now I want to create a wave simulation where I have a tank of water and the tank is rocked up and down and the water inside "sloshes" from one end to the other. Then I can play around with timing and angle of the contain being tipped to create some cool waves. But I am having trouble mixing a fluid physics simulation with the animation of the tank holding the water.

Either I'm missing something or it's a lot harder than I think it is.

I read online that I need to first bake the water simulation and then I can animate other objects. But that doesn't make sense because tipping the container will change what the water does - and baking the simulation kinda makes that impossible, right? Any help would be greatly appreciated.

$\endgroup$
1
$\begingroup$

You should be able to keyframe your Obstacles and then Bake. Make sure your tank never passes through your Inflow, if you have one, or is smaller then your Fluid can fall into, if you are doing it that way.

Here is a tutorial on animated Obstacles.

$\endgroup$
  • $\begingroup$ This is definitely what I needed to know. Thanks a bunch. I'll give it a try tonight. $\endgroup$ – PaulG Jun 2 '16 at 14:13
  • $\begingroup$ @PaulG Always glad to help! $\endgroup$ – Shady Puck Jun 2 '16 at 14:13
  • $\begingroup$ @PaulG Great to hear it! $\endgroup$ – Shady Puck Jun 3 '16 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.