Graphics Reference
In-Depth Information
Figure 7-37
Fluid object bisected by an obstacle
Animated Obstacles
For a simple example of fluid interacting with an animated obstacle, set up a fluid simulation with a default
cube as the domain and an Icosphere as the fluid.
1.
Copy the cube, scale it down along the z-axis to the shape of a thick board, and scale it slightly along
the x-axis, as shown in
Figure 7-38
and
Figure 7-39
.
Set this to be an Obstacle object.
2.
At frame 1, key the rotation of the Obstacle object by pressing the I key and selecting Rotation, as in
3.
Advance 20 frames and, in Front view, rotate the object about 90 degrees counterclockwise. Key the
new rotation at frame 21, as in
Figure 7-41
.